Black Friday 2026: design deals we check every day. See the deals →

#2F5940 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#2f5940
Hex color #2f5940 graphic
Heavy and desaturated, #2f5940 carries an ashy quality that suggests organic, grounded depth. It serves as a reliable base for moody UI designs or sustainable branding. While it holds enough contrast for white text to remain perfectly readable, avoid using it in expansive, flat areas to keep the palette from appearing muddy. The hex code for this shade is #2f5940.

Color Conversions

Hex color #2f5940 converted to various formats including hex, rgb, hsl, and more.

  • Hex#2f5940
  • RGBrgb(47, 89, 64)
  • RGB Percentagesrgb(18%, 35%, 25%)
  • CMYK47%, 0%, 28%, 65%
  • HSLhsl(144, 31%, 27%)
  • HSVhsv(144, 47%, 35%)
  • OKLCHoklch(42.6% 0.063 156.3)
  • LCH34, 23, 155
  • LAB34, -21, 10
  • LUV34, -19, 15
  • XYZ6, 8, 6
  • Closest Tailwind Colormist-700

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#2f5940
#436851
#577863
#6a8875
#7f9887
#93a99a
#a8b9ae
#bdcac1
#d3dcd6
#e9edea

Darken

Shades of the color as they darken toward black.

#2f5940
#274c36
#20402d
#193424
#12281b
#0c1d13
#06130b
#030905
#010301
#000000

Desaturate

Desaturated versions of this color.

#2f5940
#385d46
#40614c
#486553
#516959
#596d5f
#607066
#68746c
#707873
#787c79

Hue

Various hues of this color.

#322f59
#2f3d59
#2f4f59
#2f5951
#2f5940
#2f592f
#41592f
#52592f
#594e2f

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#2f5940
#2f592f
#2f5938

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#2f5940
#45835f
#5cae7d
#72d89c
#020403
#192e21

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#2f5940
#592f48

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#2f5940
#2f4059
#592f2f

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#2f5940
#402f59
#59402f

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#2f5940
#2f3359
#592f48
#59552f

Contrast Checker

Contrast test results for the color #2f5940 on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #2f5940 appears to people with color vision deficiency (CVD).

Normal Vision
#2f5940
Protanopia
#525240
Red-blind (~1% of males)
Deuteranopia
#4b4b41
Green-blind (~1% of males)
Tritanopia
#325656
Blue-blind (very rare)
Achromatopsia
#4e4e4e
Total color blindness

Questions about #2f5940

What is #2f5940 in RGB, HSL and CMYK?
In RGB, #2f5940 is rgb(47, 89, 64), in HSL hsl(144, 31%, 27%) and in CMYK 47%, 0%, 28%, 65%. Browse more shades of green with names and hex codes.
What colors pair well with #2f5940 for a balanced palette?
Pair #2f5940 with warm, neutral tones like cream or sand to lift its heavy, ashy character without losing that organic feel. If you need contrast, a soft terracotta creates a striking, nature-inspired balance that feels professional and intentional.
Does #2f5940 work well as a background color for text?
It serves as an excellent base for UI elements because it offers high contrast when paired with off-white or light beige text. Avoid using #2f5940 in large, flat spans without breaking up the space, as it can occasionally appear muddy.
Is #2f5940 readable on white or black?
#2f5940 has a 8.00:1 contrast ratio on white and 2.62:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.