#31770E
Closest named color: Tree Green (#2A7E19). oklch(50.4% 0.149 138.2), rgb(49, 119, 14).
Aa
White text reads best on this color (5.56:1).
About this color
#31770E is a medium-dark, vivid green. In OKLCH its lightness is 50%, its chroma 0.149 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.020 away. White text reads best on it, at 5.56:1.
| Hue family | Greens |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 3.77:1 |
| White text | 5.56:1 |
Values
| HEX | #31770E |
| RGB | rgb(49, 119, 14) |
| HSL | hsl(100, 79%, 26%) |
| OKLCH | oklch(50.4% 0.149 138.2) |
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 #31770E | 5.56:1 | AA | Lc -82.7 | Fine for body text |
| Black text on #31770E | 3.77:1 | AA large text | Lc 26.6 | Dividers and decoration only |
| #31770E text on white | 5.56:1 | AA | Lc 77.4 | Fine for body text |
| #31770E text on black | 3.77:1 | AA large text | Lc -24.3 | 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
#CCE0C6
oklch(88.5% 0.041 138.5)
-
Step 300
300
#AACC9F
oklch(80.8% 0.072 138.1)
-
Step 400
400
#7CB26A
oklch(70.8% 0.116 138.2)
-
Step 500
500
#589E3F
oklch(63.2% 0.148 138.3)
-
Step 600
600
#3B8818
oklch(55.7% 0.161 138.3)
-
Step 700
700 (this color)
#31770E
oklch(50.4% 0.149 138.2)
-
Step 800
800
#265E0D
oklch(42.8% 0.124 138.4)
-
Step 900
900
#244D15
oklch(37.7% 0.097 138.5)
-
Step 950
950
#162D0E
oklch(26.9% 0.061 138.3)
#31770E 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) | #7B6C00 | 0.097 |
| Deuteranopia (no green cones) | #72661C | 0.096 |
| Tritanopia (no blue cones) | #2A7365 | 0.104 |
| Achromatopsia (no color) | #686868 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31770E
#31770E
oklch(50.4% 0.149 138.2)
- #87439A
#87439A
oklch(50.4% 0.149 318.4)
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 #31770E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.020
- Dark Grass Green #388004 ΔE 0.030
- Green #008000 ΔE 0.034
- Jungle Green #048243 ΔE 0.047
- Forest Green #228B22 ΔE 0.058
- Olive Green #677A04 ΔE 0.063
- Dark Olive Green #556B2F ΔE 0.065
- Dark Green #006400 ΔE 0.069
Use #31770E 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.