#31730E
Closest named color: Tree Green (#2A7E19). oklch(49.3% 0.145 137.9), rgb(49, 115, 14).
Aa
White text reads best on this color (5.85:1).
About this color
#31730E is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.145 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.032 away. White text reads best on it, at 5.85:1.
| Hue family | Greens |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 3.58:1 |
| White text | 5.85:1 |
Values
| HEX | #31730E |
| RGB | rgb(49, 115, 14) |
| HSL | hsl(99, 78%, 25%) |
| OKLCH | oklch(49.3% 0.145 137.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 #31730E | 5.85:1 | AA | Lc -84.2 | Fine for body text |
| Black text on #31730E | 3.58:1 | AA large text | Lc 25.1 | Dividers and decoration only |
| #31730E text on white | 5.85:1 | AA | Lc 78.9 | Fine for body text |
| #31730E text on black | 3.58:1 | AA large text | Lc -22.9 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F7F1
oklch(97.1% 0.01 140.5)
-
Step 100
100
#E3EDE0
oklch(93.5% 0.02 138.4)
-
Step 200
200
#CDE0C7
oklch(88.6% 0.039 138.2)
-
Step 300
300
#ABCCA0
oklch(80.9% 0.07 137.9)
-
Step 400
400
#7DB16B
oklch(70.6% 0.112 138)
-
Step 500
500
#5B9D41
oklch(63.1% 0.143 137.8)
-
Step 600
600
#3F871D
oklch(55.6% 0.155 137.9)
-
Step 700
700 (this color)
#31730E
oklch(49.3% 0.145 137.9)
-
Step 800
800
#295D10
oklch(42.6% 0.12 137.8)
-
Step 900
900
#264D17
oklch(37.8% 0.094 138.1)
-
Step 950
950
#172D0F
oklch(27% 0.059 138.1)
#31730E 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) | #776800 | 0.093 |
| Deuteranopia (no green cones) | #6F631B | 0.093 |
| Tritanopia (no blue cones) | #2B6F61 | 0.100 |
| Achromatopsia (no color) | #656565 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31730E
#31730E
oklch(49.3% 0.145 137.9)
- #824196
#824196
oklch(49.3% 0.146 317.7)
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 #31730E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.032
- Dark Grass Green #388004 ΔE 0.042
- Green #008000 ΔE 0.044
- Jungle Green #048243 ΔE 0.054
- Dark Green #006400 ΔE 0.058
- Dark Olive Green #556B2F ΔE 0.060
- Camouflage Green #4B6113 ΔE 0.060
- Camo Green #526525 ΔE 0.062
Use #31730E 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.