#2A6F12
Closest named color: Dark Green (#006400). oklch(47.9% 0.141 139.4), rgb(42, 111, 18).
Aa
White text reads best on this color (6.21:1).
About this color
#2A6F12 is a medium-dark, vivid green. In OKLCH its lightness is 48%, its chroma 0.141 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.044 away. White text reads best on it, at 6.21:1.
| Hue family | Greens |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Dark Green (#006400) |
| Black text | 3.38:1 |
| White text | 6.21:1 |
Values
| HEX | #2A6F12 |
| RGB | rgb(42, 111, 18) |
| HSL | hsl(105, 72%, 25%) |
| OKLCH | oklch(47.9% 0.141 139.4) |
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 #2A6F12 | 6.21:1 | AA | Lc -85.8 | Fine for body text |
| Black text on #2A6F12 | 3.38:1 | AA large text | Lc 23.5 | Dividers and decoration only |
| #2A6F12 text on white | 6.21:1 | AA | Lc 80.6 | Fine for body text |
| #2A6F12 text on black | 3.38:1 | AA large text | Lc -21.2 | 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
#E3EDE1
oklch(93.5% 0.019 140.5)
-
Step 200
200
#CDE0C8
oklch(88.6% 0.038 139.2)
-
Step 300
300
#AACCA2
oklch(80.9% 0.068 139.7)
-
Step 400
400
#7CB16F
oklch(70.7% 0.109 139.6)
-
Step 500
500
#599D46
oklch(63.1% 0.14 139.2)
-
Step 600
600
#3C8725
oklch(55.5% 0.152 139.4)
-
Step 700
700 (this color)
#2A6F12
oklch(47.9% 0.141 139.4)
-
Step 800
800
#275D17
oklch(42.6% 0.116 139.5)
-
Step 900
900
#254D1A
oklch(37.8% 0.091 139.4)
-
Step 950
950
#162D10
oklch(27% 0.058 139.5)
#2A6F12 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) | #726400 | 0.093 |
| Deuteranopia (no green cones) | #6A5F1D | 0.093 |
| Tritanopia (no blue cones) | #226B5E | 0.096 |
| Achromatopsia (no color) | #616161 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A6F12
#2A6F12
oklch(47.9% 0.141 139.4)
- #7E3E8E
#7E3E8E
oklch(47.9% 0.14 319.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 #2A6F12, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Green #006400 ΔE 0.044
- Tree Green #2A7E19 ΔE 0.046
- Camouflage Green #4B6113 ΔE 0.053
- Green #008000 ΔE 0.055
- Dark Grass Green #388004 ΔE 0.057
- Camo Green #526525 ΔE 0.058
- Dark Olive Green #556B2F ΔE 0.060
- Jungle Green #048243 ΔE 0.062
Use #2A6F12 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.