#2F5A17
Closest named color: Navy Green (#35530A). oklch(42.1% 0.108 136.5), rgb(47, 90, 23).
Aa
White text reads best on this color (8.09:1).
About this color
#2F5A17 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.108 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.021 away. White text reads best on it, at 8.09:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.59:1 |
| White text | 8.09:1 |
Values
| HEX | #2F5A17 |
| RGB | rgb(47, 90, 23) |
| HSL | hsl(99, 59%, 22%) |
| OKLCH | oklch(42.1% 0.108 136.5) |
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 #2F5A17 | 8.09:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #2F5A17 | 2.59:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #2F5A17 text on white | 8.09:1 | AAA | Lc 87.8 | Fine for body text |
| #2F5A17 text on black | 2.59:1 | Fails | Lc -14.3 | 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 800.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE1
oklch(93.6% 0.019 137.8)
-
Step 200
200
#CFDFC8
oklch(88.5% 0.035 136)
-
Step 300
300
#AECBA2
oklch(81% 0.064 136.6)
-
Step 400
400
#83AF70
oklch(70.6% 0.1 136.6)
-
Step 500
500
#639B49
oklch(63.1% 0.129 136.7)
-
Step 600
600
#498528
oklch(55.6% 0.14 136.5)
-
Step 700
700
#3A701B
oklch(49% 0.129 136.5)
-
Step 800
800 (this color)
#2F5A17
oklch(42.1% 0.108 136.5)
-
Step 900
900
#2B4B1B
oklch(37.6% 0.084 136.5)
-
Step 950
950
#1A2C11
oklch(26.9% 0.052 136.1)
#2F5A17 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) | #5D520D | 0.067 |
| Deuteranopia (no green cones) | #584E1D | 0.069 |
| Tritanopia (no blue cones) | #2D574D | 0.076 |
| Achromatopsia (no color) | #505050 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F5A17
#2F5A17
oklch(42.1% 0.108 136.5)
- #643874
#643874
oklch(42.1% 0.108 316.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 #2F5A17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.021
- Pine #2B5D34 ΔE 0.031
- Deep Green #02590F ΔE 0.032
- Forest #0B5509 ΔE 0.036
- Spruce #0A5F38 ΔE 0.038
- Army Green #4B5D16 ΔE 0.038
- Camouflage Green #4B6113 ΔE 0.044
- Dark Green #006400 ΔE 0.045
Use #2F5A17 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.