#2F7A31
Closest named color: Tree Green (#2A7E19). oklch(51.5% 0.131 143.8), rgb(47, 122, 49).
Aa
White text reads best on this color (5.31:1).
About this color
#2F7A31 is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.131 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.027 away. White text reads best on it, at 5.31:1.
| Hue family | Greens |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 3.94:1 |
| White text | 5.31:1 |
Values
| HEX | #2F7A31 |
| RGB | rgb(47, 122, 49) |
| HSL | hsl(122, 44%, 33%) |
| OKLCH | oklch(51.5% 0.131 143.8) |
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 #2F7A31 | 5.31:1 | AA | Lc -81.5 | Fine for body text |
| Black text on #2F7A31 | 3.94:1 | AA large text | Lc 27.9 | Dividers and decoration only |
| #2F7A31 text on white | 5.31:1 | AA | Lc 76.1 | Fine for body text |
| #2F7A31 text on black | 3.94:1 | AA large text | Lc -25.6 | 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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE2
oklch(93.6% 0.018 142.8)
-
Step 200
200
#CCE0CB
oklch(88.6% 0.036 144)
-
Step 300
300
#A9CCA7
oklch(81% 0.063 143.6)
-
Step 400
400
#79B178
oklch(70.7% 0.101 144)
-
Step 500
500
#549D54
oklch(63% 0.129 143.9)
-
Step 600
600
#358838
oklch(55.7% 0.141 144)
-
Step 700
700 (this color)
#2F7A31
oklch(51.5% 0.131 143.8)
-
Step 800
800
#225E24
oklch(42.8% 0.109 143.9)
-
Step 900
900
#224D22
oklch(37.8% 0.085 143.7)
-
Step 950
950
#152D15
oklch(27% 0.053 143.9)
#2F7A31 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) | #7C6F2A | 0.096 |
| Deuteranopia (no green cones) | #736937 | 0.096 |
| Tritanopia (no blue cones) | #21776A | 0.082 |
| Achromatopsia (no color) | #6B6B6B | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7A31
#2F7A31
oklch(51.5% 0.131 143.8)
- #8B4A92
#8B4A92
oklch(51.6% 0.131 323.6)
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 #2F7A31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.027
- Jungle Green #048243 ΔE 0.027
- Dark Grass Green #388004 ΔE 0.038
- Green #008000 ΔE 0.046
- Dark Olive Green #556B2F ΔE 0.057
- Forest Green #228B22 ΔE 0.057
- Sea Green #2E8B57 ΔE 0.060
- Olive Green #677A04 ΔE 0.061
Use #2F7A31 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.