#40571A
Closest named color: Navy Green (#35530A). oklch(42.4% 0.091 127.5), rgb(64, 87, 26).
Aa
White text reads best on this color (8.08:1).
About this color
#40571A is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.091 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.024 away. White text reads best on it, at 8.08:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.091) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.59:1 |
| White text | 8.08:1 |
Values
| HEX | #40571A |
| RGB | rgb(64, 87, 26) |
| HSL | hsl(83, 54%, 22%) |
| OKLCH | oklch(42.4% 0.091 127.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 #40571A | 8.08:1 | AAA | Lc -92.6 | Preferred for body text |
| Black text on #40571A | 2.59:1 | Fails | Lc 16.1 | Dividers and decoration only |
| #40571A text on white | 8.08:1 | AAA | Lc 87.9 | Fine for body text |
| #40571A text on black | 2.59:1 | Fails | Lc -14.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
#E7ECE1
oklch(93.6% 0.016 126.8)
-
Step 200
200
#D4DDC9
oklch(88.5% 0.029 126.8)
-
Step 300
300
#B7C8A3
oklch(81% 0.054 127.7)
-
Step 400
400
#92AB71
oklch(70.8% 0.085 127.4)
-
Step 500
500
#77964A
oklch(63.2% 0.109 127.5)
-
Step 600
600
#60802B
oklch(55.7% 0.118 127.5)
-
Step 700
700
#4F6C1E
oklch(49.2% 0.11 127.7)
-
Step 800
800 (this color)
#40571A
oklch(42.4% 0.091 127.5)
-
Step 900
900
#37481C
oklch(37.6% 0.07 127.1)
-
Step 950
950
#202A12
oklch(26.8% 0.043 127.6)
#40571A 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) | #5C5112 | 0.045 |
| Deuteranopia (no green cones) | #584F1F | 0.045 |
| Tritanopia (no blue cones) | #42534A | 0.071 |
| Achromatopsia (no color) | #505050 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40571A
#40571A
oklch(42.4% 0.091 127.5)
- #5C3F74
#5C3F74
oklch(42.4% 0.091 308.2)
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 #40571A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.024
- Army Green #4B5D16 ΔE 0.026
- Pine #2B5D34 ΔE 0.033
- Green Brown #544E03 ΔE 0.037
- Camouflage Green #4B6113 ΔE 0.038
- Spruce #0A5F38 ΔE 0.048
- Camo Green #526525 ΔE 0.053
- Deep Green #02590F ΔE 0.053
Use #40571A 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.