#338131
Closest named color: Tree Green (#2A7E19). oklch(53.6% 0.139 142.9), rgb(51, 129, 49).
Aa
White text reads best on this color (4.85:1).
About this color
#338131 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.139 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.023 away. White text reads best on it, at 4.85:1.
| Hue family | Greens |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.32:1 |
| White text | 4.85:1 |
Values
| HEX | #338131 |
| RGB | rgb(51, 129, 49) |
| HSL | hsl(119, 45%, 35%) |
| OKLCH | oklch(53.6% 0.139 142.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 #338131 | 4.85:1 | AA | Lc -78.8 | Fine for body text |
| Black text on #338131 | 4.32:1 | AA large text | Lc 30.7 | Non-text elements, placeholder text |
| #338131 text on white | 4.85:1 | AA | Lc 73.3 | Content text, not long reading |
| #338131 text on black | 4.32:1 | AA large text | Lc -28.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 600.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE2
oklch(93.6% 0.018 142.8)
-
Step 200
200
#CCDFCB
oklch(88.4% 0.034 143.9)
-
Step 300
300
#AACCA7
oklch(81% 0.063 142.8)
-
Step 400
400
#7BB177
oklch(70.8% 0.1 142.8)
-
Step 500
500
#579D53
oklch(63.2% 0.128 142.8)
-
Step 600
600 (this color)
#338131
oklch(53.6% 0.139 142.9)
-
Step 700
700
#2B7229
oklch(49% 0.129 142.9)
-
Step 800
800
#255D23
oklch(42.6% 0.107 142.8)
-
Step 900
900
#244C22
oklch(37.6% 0.082 142.8)
-
Step 950
950
#162D14
oklch(27% 0.053 142.3)
#338131 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) | #847528 | 0.101 |
| Deuteranopia (no green cones) | #7A6F37 | 0.100 |
| Tritanopia (no blue cones) | #267D70 | 0.089 |
| Achromatopsia (no color) | #717171 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338131
#338131
oklch(53.6% 0.139 142.9)
- #934E9C
#934E9C
oklch(53.7% 0.139 322.9)
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 #338131, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.023
- Jungle Green #048243 ΔE 0.024
- Dark Grass Green #388004 ΔE 0.026
- Forest Green #228B22 ΔE 0.037
- Green #008000 ΔE 0.042
- Sea Green #2E8B57 ΔE 0.047
- Emerald Green #028F1E ΔE 0.051
- Kelley Green #009337 ΔE 0.053
Use #338131 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.