#2F6817
Closest named color: Dark Green (#006400). oklch(46.1% 0.127 138.2), rgb(47, 104, 23).
Aa
White text reads best on this color (6.74:1).
About this color
#2F6817 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.127 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.035 away. White text reads best on it, at 6.74:1.
| Hue family | Greens |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Dark Green (#006400) |
| Black text | 3.11:1 |
| White text | 6.74:1 |
Values
| HEX | #2F6817 |
| RGB | rgb(47, 104, 23) |
| HSL | hsl(102, 64%, 25%) |
| OKLCH | oklch(46.1% 0.127 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 #2F6817 | 6.74:1 | AA | Lc -88.0 | Fine for body text |
| Black text on #2F6817 | 3.11:1 | AA large text | Lc 21.1 | Dividers and decoration only |
| #2F6817 text on white | 6.74:1 | AA | Lc 83.0 | Fine for body text |
| #2F6817 text on black | 3.11:1 | AA large text | Lc -19.0 | 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
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE1
oklch(93.6% 0.019 137.8)
-
Step 200
200
#CEDFC9
oklch(88.5% 0.035 138.6)
-
Step 300
300
#ADCBA4
oklch(80.9% 0.063 138.5)
-
Step 400
400
#82AF73
oklch(70.6% 0.097 138.1)
-
Step 500
500
#619B4D
oklch(63.1% 0.126 138.2)
-
Step 600
600
#46852F
oklch(55.5% 0.136 138.3)
-
Step 700
700 (this color)
#2F6817
oklch(46.1% 0.127 138.2)
-
Step 800
800
#2F5C1E
oklch(42.8% 0.105 138.2)
-
Step 900
900
#2A4C1E
oklch(37.8% 0.083 138.2)
-
Step 950
950
#192C12
oklch(26.9% 0.052 137.8)
#2F6817 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) | #6B5E07 | 0.082 |
| Deuteranopia (no green cones) | #645A1F | 0.082 |
| Tritanopia (no blue cones) | #2A6458 | 0.088 |
| Achromatopsia (no color) | #5B5B5B | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F6817
#2F6817
oklch(46.1% 0.127 138.2)
- #753D85
#753D85
oklch(46% 0.127 318.3)
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 #2F6817, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Green #006400 ΔE 0.035
- Camouflage Green #4B6113 ΔE 0.036
- Army Green #4B5D16 ΔE 0.044
- Camo Green #526525 ΔE 0.047
- Pine #2B5D34 ΔE 0.053
- Dark Olive Green #556B2F ΔE 0.055
- Spruce #0A5F38 ΔE 0.056
- Mud Green #606602 ΔE 0.060
Use #2F6817 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.