#31471D
Closest named color: Dark Olive (#373E02). oklch(36.9% 0.071 131.9), rgb(49, 71, 29).
Aa
White text reads best on this color (10.24:1).
About this color
#31471D is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.071 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.031 away. White text reads best on it, at 10.24:1.
| Hue family | Greens |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Dark Olive (#373E02) |
| Black text | 2.04:1 |
| White text | 10.24:1 |
Values
| HEX | #31471D |
| RGB | rgb(49, 71, 29) |
| HSL | hsl(91, 42%, 20%) |
| OKLCH | oklch(36.9% 0.071 131.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 #31471D | 10.24:1 | AAA | Lc -97.8 | Preferred for body text |
| Black text on #31471D | 2.04:1 | Fails | Lc 10.2 | Not readable |
| #31471D text on white | 10.24:1 | AAA | Lc 93.7 | Preferred for body text |
| #31471D text on black | 2.04:1 | Fails | Lc -8.8 | 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 900.
-
Step 50
50
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E6ECE2
oklch(93.6% 0.015 132.5)
-
Step 200
200
#D2DECA
oklch(88.6% 0.03 132.6)
-
Step 300
300
#B4C8A5
oklch(80.8% 0.053 131.9)
-
Step 400
400
#8DAC74
oklch(70.7% 0.085 131.8)
-
Step 500
500
#71974F
oklch(63.1% 0.109 131.7)
-
Step 600
600
#598132
oklch(55.6% 0.118 131.8)
-
Step 700
700
#486D24
oklch(49% 0.11 132.1)
-
Step 800
800
#3C591F
oklch(42.7% 0.092 131.6)
-
Step 900
900 (this color)
#31471D
oklch(36.9% 0.071 131.9)
-
Step 950
950
#1E2B13
oklch(27% 0.045 132)
#31471D 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) | #4A4219 | 0.040 |
| Deuteranopia (no green cones) | #474020 | 0.041 |
| Tritanopia (no blue cones) | #32443E | 0.055 |
| Achromatopsia (no color) | #414141 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31471D
#31471D
oklch(36.9% 0.071 131.9)
- #4C345A
#4C345A
oklch(36.9% 0.07 312.3)
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 #31471D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.031
- Pine Green #0A481E ΔE 0.036
- Evergreen #05472A ΔE 0.038
- Forrest Green #154406 ΔE 0.043
- British Racing Green #05480D ΔE 0.046
- Navy Green #35530A ΔE 0.047
- Darkgreen #054907 ΔE 0.049
- Bottle Green #044A05 ΔE 0.050
Use #31471D 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.