#404D38
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.038 133.8), rgb(64, 77, 56).
Aa
White text reads best on this color (8.98:1).
About this color
#404D38 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.038 and its hue 134°. 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.98:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | muted (0.038) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.33:1 |
| White text | 8.98:1 |
Values
| HEX | #404D38 |
| RGB | rgb(64, 77, 56) |
| HSL | hsl(97, 16%, 26%) |
| OKLCH | oklch(40.2% 0.038 133.8) |
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 #404D38 | 8.98:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #404D38 | 2.33:1 | Fails | Lc 13.3 | Not readable |
| #404D38 text on white | 8.98:1 | AAA | Lc 90.6 | Preferred for body text |
| #404D38 text on black | 2.33:1 | Fails | Lc -11.7 | 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
#F5F6F4
oklch(97.2% 0.003 128.5)
-
Step 100
100
#E8EBE6
oklch(93.6% 0.007 132.4)
-
Step 200
200
#D6DBD3
oklch(88.5% 0.012 133.4)
-
Step 300
300
#BBC4B6
oklch(80.9% 0.022 134.1)
-
Step 400
400
#98A68F
oklch(70.8% 0.036 133.1)
-
Step 500
500
#7E9074
oklch(63.1% 0.046 134.4)
-
Step 600
600
#687A5C
oklch(55.6% 0.05 133.1)
-
Step 700
700
#56674C
oklch(49.2% 0.047 134.1)
-
Step 800
800 (this color)
#404D38
oklch(40.2% 0.038 133.8)
-
Step 900
900
#3B4535
oklch(37.6% 0.03 133.8)
-
Step 950
950
#23291F
oklch(27.2% 0.02 132.9)
#404D38 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) | #4F4A37 | 0.025 |
| Deuteranopia (no green cones) | #4D4939 | 0.024 |
| Tritanopia (no blue cones) | #404B47 | 0.027 |
| Achromatopsia (no color) | #494949 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404D38
#404D38
oklch(40.2% 0.038 133.8)
- #504257
#504257
oklch(40.2% 0.039 314.4)
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 #404D38, 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
- Charcoal Grey #3C4142 ΔE 0.049
- Dark Blue Green #005249 ΔE 0.054
- Pine #2B5D34 ΔE 0.058
- Green Brown #544E03 ΔE 0.058
- Dark Teal #014D4E ΔE 0.062
- Mud Brown #60460F ΔE 0.062
- Navy Green #35530A ΔE 0.065
Use #404D38 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.