#405017
Closest named color: Navy Green (#35530A). oklch(40.4% 0.083 123.5), rgb(64, 80, 23).
Aa
White text reads best on this color (8.83:1).
About this color
#405017 is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.083 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.022 away. White text reads best on it, at 8.83:1.
| Hue family | Browns |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.37:1 |
| White text | 8.83:1 |
Values
| HEX | #405017 |
| RGB | rgb(64, 80, 23) |
| HSL | hsl(77, 55%, 20%) |
| OKLCH | oklch(40.4% 0.083 123.5) |
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 #405017 | 8.83:1 | AAA | Lc -94.6 | Preferred for body text |
| Black text on #405017 | 2.37:1 | Fails | Lc 13.9 | Not readable |
| #405017 text on white | 8.83:1 | AAA | Lc 90.1 | Preferred for body text |
| #405017 text on black | 2.37:1 | Fails | Lc -12.2 | 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
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E8ECE1
oklch(93.7% 0.015 123)
-
Step 200
200
#D5DCC9
oklch(88.4% 0.027 123.5)
-
Step 300
300
#BAC6A4
oklch(80.8% 0.048 123.3)
-
Step 400
400
#97A973
oklch(70.7% 0.077 123.3)
-
Step 500
500
#7D934D
oklch(62.9% 0.099 123.6)
-
Step 600
600
#677D2F
oklch(55.5% 0.107 123.2)
-
Step 700
700
#556A22
oklch(49.1% 0.101 124)
-
Step 800
800 (this color)
#405017
oklch(40.4% 0.083 123.5)
-
Step 900
900
#3B471E
oklch(37.7% 0.064 123)
-
Step 950
950
#222A12
oklch(27% 0.042 124.3)
#405017 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) | #554B0F | 0.035 |
| Deuteranopia (no green cones) | #534A1B | 0.036 |
| Tritanopia (no blue cones) | #434C44 | 0.068 |
| Achromatopsia (no color) | #4A4A4A | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405017
#405017
oklch(40.4% 0.083 123.5)
- #523D6D
#523D6D
oklch(40.5% 0.082 303.1)
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 #405017, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.022
- Green Brown #544E03 ΔE 0.031
- Pine #2B5D34 ΔE 0.045
- Army Green #4B5D16 ΔE 0.046
- Forest #0B5509 ΔE 0.055
- Camouflage Green #4B6113 ΔE 0.058
- Mud Brown #60460F ΔE 0.058
- Spruce #0A5F38 ΔE 0.059
Use #405017 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.