#404B2F
Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.5% 0.047 125.9), rgb(64, 75, 47).
Aa
White text reads best on this color (9.26:1).
About this color
#404B2F is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.047 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.050 away. White text reads best on it, at 9.26:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | muted (0.047) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.26:1 |
| White text | 9.26:1 |
Values
| HEX | #404B2F |
| RGB | rgb(64, 75, 47) |
| HSL | hsl(84, 23%, 24%) |
| OKLCH | oklch(39.5% 0.047 125.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 #404B2F | 9.26:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #404B2F | 2.26:1 | Fails | Lc 12.6 | Not readable |
| #404B2F text on white | 9.26:1 | AAA | Lc 91.4 | Preferred for body text |
| #404B2F text on black | 2.26:1 | Fails | Lc -11.0 | 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 900.
-
Step 50
50
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E8EBE4
oklch(93.6% 0.01 125.7)
-
Step 200
200
#D6DCCE
oklch(88.6% 0.02 125.8)
-
Step 300
300
#BBC5AD
oklch(80.9% 0.035 125.6)
-
Step 400
400
#98A781
oklch(70.6% 0.056 125.3)
-
Step 500
500
#7F9261
oklch(63.2% 0.073 125.6)
-
Step 600
600
#687C48
oklch(55.7% 0.079 126)
-
Step 700
700
#566839
oklch(49% 0.073 126.1)
-
Step 800
800
#475530
oklch(42.7% 0.06 125.7)
-
Step 900
900 (this color)
#404B2F
oklch(39.5% 0.047 125.9)
-
Step 950
950
#232919
oklch(27% 0.029 125)
#404B2F 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) | #4E482D | 0.023 |
| Deuteranopia (no green cones) | #4C4730 | 0.023 |
| Tritanopia (no blue cones) | #424844 | 0.038 |
| Achromatopsia (no color) | #474747 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404B2F
#404B2F
oklch(39.5% 0.047 125.9)
- #4C405B
#4C405B
oklch(39.5% 0.047 304.6)
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 #404B2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.050
- Green Brown #544E03 ΔE 0.051
- Charcoal Grey #3C4142 ΔE 0.053
- Navy Green #35530A ΔE 0.057
- Mud Brown #60460F ΔE 0.057
- Pine #2B5D34 ΔE 0.059
- Dark Olive #373E02 ΔE 0.059
- Dark Blue Green #005249 ΔE 0.059
Use #404B2F 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.