#31571B
Closest named color: Navy Green (#35530A). oklch(41.4% 0.099 135.9), rgb(49, 87, 27).
Aa
White text reads best on this color (8.36:1).
About this color
#31571B is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.099 and its hue 136°. 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.36:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.50:1 |
| White text | 8.36:1 |
Values
| HEX | #31571B |
| RGB | rgb(49, 87, 27) |
| HSL | hsl(98, 53%, 22%) |
| OKLCH | oklch(41.4% 0.099 135.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 #31571B | 8.36:1 | AAA | Lc -93.3 | Preferred for body text |
| Black text on #31571B | 2.50:1 | Fails | Lc 15.3 | Dividers and decoration only |
| #31571B text on white | 8.36:1 | AAA | Lc 88.7 | Fine for body text |
| #31571B text on black | 2.50:1 | Fails | Lc -13.5 | 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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E5EDE2
oklch(93.7% 0.017 137)
-
Step 200
200
#D0DECA
oklch(88.5% 0.031 136.2)
-
Step 300
300
#B0CAA5
oklch(81% 0.058 136.4)
-
Step 400
400
#87AE74
oklch(70.7% 0.092 135.7)
-
Step 500
500
#68994E
oklch(63% 0.118 135.7)
-
Step 600
600
#4F8431
oklch(55.7% 0.128 135.9)
-
Step 700
700
#3F6F23
oklch(49% 0.119 136)
-
Step 800
800 (this color)
#31571B
oklch(41.4% 0.099 135.9)
-
Step 900
900
#2E4B1F
oklch(37.8% 0.078 136.1)
-
Step 950
950
#1B2C13
oklch(27.1% 0.049 136.4)
#31571B 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) | #5A5014 | 0.060 |
| Deuteranopia (no green cones) | #554C20 | 0.062 |
| Tritanopia (no blue cones) | #30544A | 0.069 |
| Achromatopsia (no color) | #4E4E4E | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31571B
#31571B
oklch(41.4% 0.099 135.9)
- #60396F
#60396F
oklch(41.5% 0.098 316)
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 #31571B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.015
- Pine #2B5D34 ΔE 0.029
- Deep Green #02590F ΔE 0.036
- Forest #0B5509 ΔE 0.037
- Spruce #0A5F38 ΔE 0.038
- Army Green #4B5D16 ΔE 0.041
- Camouflage Green #4B6113 ΔE 0.049
- Green Brown #544E03 ΔE 0.052
Use #31571B 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.