#405102
Closest named color: Navy Green (#35530A). oklch(40.6% 0.098 122.5), rgb(64, 81, 2).
Aa
White text reads best on this color (8.76:1).
About this color
#405102 is a dark, moderately saturated brown. In OKLCH its lightness is 41%, its chroma 0.098 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.015 away. White text reads best on it, at 8.76:1.
| Hue family | Browns |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.39:1 |
| White text | 8.76:1 |
Values
| HEX | #405102 |
| RGB | rgb(64, 81, 2) |
| HSL | hsl(73, 95%, 16%) |
| OKLCH | oklch(40.6% 0.098 122.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 #405102 | 8.76:1 | AAA | Lc -94.3 | Preferred for body text |
| Black text on #405102 | 2.39:1 | Fails | Lc 14.1 | Not readable |
| #405102 text on white | 8.76:1 | AAA | Lc 89.9 | Fine for body text |
| #405102 text on black | 2.39:1 | Fails | Lc -12.4 | 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
#E8ECE0
oklch(93.7% 0.017 121.8)
-
Step 200
200
#D5DDC6
oklch(88.5% 0.032 122.7)
-
Step 300
300
#BAC79E
oklch(80.9% 0.057 122)
-
Step 400
400
#96AA69
oklch(70.7% 0.091 122.7)
-
Step 500
500
#7D953E
oklch(63.2% 0.117 122.7)
-
Step 600
600
#667E16
oklch(55.5% 0.127 122.5)
-
Step 700
700
#556B04
oklch(49.2% 0.119 122.7)
-
Step 800
800 (this color)
#405102
oklch(40.6% 0.098 122.5)
-
Step 900
900
#3A4814
oklch(37.7% 0.077 123)
-
Step 950
950
#222A0D
oklch(26.9% 0.049 122.6)
#405102 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) | #574B00 | 0.040 |
| Deuteranopia (no green cones) | #544B0C | 0.038 |
| Tritanopia (no blue cones) | #444C44 | 0.083 |
| Achromatopsia (no color) | #4B4B4B | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405102
#405102
oklch(40.6% 0.098 122.5)
- #543A74
#543A74
oklch(40.5% 0.098 303)
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 #405102, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.015
- Green Brown #544E03 ΔE 0.033
- Army Green #4B5D16 ΔE 0.043
- Forest #0B5509 ΔE 0.049
- Pine #2B5D34 ΔE 0.049
- Deep Green #02590F ΔE 0.052
- Camouflage Green #4B6113 ΔE 0.053
- Olive Brown #645403 ΔE 0.061
Use #405102 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.