#404F39
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.8% 0.04 135.9), rgb(64, 79, 57).
Aa
White text reads best on this color (8.76:1).
About this color
#404F39 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.040 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.039 away. White text reads best on it, at 8.76:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | muted (0.040) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.39:1 |
| White text | 8.76:1 |
Values
| HEX | #404F39 |
| RGB | rgb(64, 79, 57) |
| HSL | hsl(101, 16%, 27%) |
| OKLCH | oklch(40.8% 0.04 135.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #404F39 | 8.76:1 | AAA | Lc -94.5 | Preferred for body text |
| Black text on #404F39 | 2.39:1 | Fails | Lc 14.0 | Not readable |
| #404F39 text on white | 8.76:1 | AAA | Lc 90.0 | Preferred for body text |
| #404F39 text on black | 2.39:1 | Fails | Lc -12.3 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F4F6F4
oklch(97.1% 0.003 145.5)
-
Step 100
100
#E8EBE6
oklch(93.6% 0.007 132.4)
-
Step 200
200
#D5DBD3
oklch(88.5% 0.013 137.8)
-
Step 300
300
#BAC4B5
oklch(80.8% 0.023 135)
-
Step 400
400
#96A68F
oklch(70.6% 0.037 136.1)
-
Step 500
500
#7D9173
oklch(63.2% 0.049 135.2)
-
Step 600
600
#667B5C
oklch(55.7% 0.053 135.7)
-
Step 700
700
#54674B
oklch(49% 0.049 135.8)
-
Step 800
800 (this color)
#404F39
oklch(40.8% 0.04 135.9)
-
Step 900
900
#3A4635
oklch(37.8% 0.032 136.5)
-
Step 950
950
#22291F
oklch(27.1% 0.021 136.3)
#404F39 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #514C38 | 0.027 |
| Deuteranopia (no green cones) | #4E4A3A | 0.027 |
| Tritanopia (no blue cones) | #404D49 | 0.029 |
| Achromatopsia (no color) | #4B4B4B | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404F39
#404F39
oklch(40.8% 0.04 135.9)
- #524359
#524359
oklch(40.7% 0.041 314.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #404F39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.039
- Pine #2B5D34 ΔE 0.053
- Dark Blue Green #005249 ΔE 0.054
- Charcoal Grey #3C4142 ΔE 0.054
- Green Brown #544E03 ΔE 0.057
- Navy Green #35530A ΔE 0.062
- Dark Teal #014D4E ΔE 0.063
- Mud Brown #60460F ΔE 0.063
Use #404F39 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.