#2A4F17
Closest named color: Navy Green (#35530A). oklch(38.6% 0.094 136.7), rgb(42, 79, 23).
Aa
White text reads best on this color (9.42:1).
About this color
#2A4F17 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.094 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.022 away. White text reads best on it, at 9.42:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.22:1 |
| White text | 9.42:1 |
Values
| HEX | #2A4F17 |
| RGB | rgb(42, 79, 23) |
| HSL | hsl(100, 55%, 20%) |
| OKLCH | oklch(38.6% 0.094 136.7) |
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 #2A4F17 | 9.42:1 | AAA | Lc -95.9 | Preferred for body text |
| Black text on #2A4F17 | 2.22:1 | Fails | Lc 12.4 | Not readable |
| #2A4F17 text on white | 9.42:1 | AAA | Lc 91.6 | Preferred for body text |
| #2A4F17 text on black | 2.22:1 | Fails | Lc -10.8 | 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 900.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE0
oklch(93.6% 0.02 135.8)
-
Step 200
200
#CDE0C6
oklch(88.5% 0.041 137.2)
-
Step 300
300
#ACCC9F
oklch(81% 0.071 136.7)
-
Step 400
400
#7FB169
oklch(70.7% 0.113 136.6)
-
Step 500
500
#5D9D3E
oklch(63.2% 0.145 136.8)
-
Step 600
600
#428716
oklch(55.7% 0.157 136.6)
-
Step 700
700
#337203
oklch(49.1% 0.146 136.7)
-
Step 800
800
#2B5D0B
oklch(42.7% 0.121 136.7)
-
Step 900
900 (this color)
#2A4F17
oklch(38.6% 0.094 136.7)
-
Step 950
950
#182D0D
oklch(27.1% 0.06 136.2)
#2A4F17 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) | #524810 | 0.060 |
| Deuteranopia (no green cones) | #4D451C | 0.060 |
| Tritanopia (no blue cones) | #284C43 | 0.066 |
| Achromatopsia (no color) | #464646 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A4F17
#2A4F17
oklch(38.6% 0.094 136.7)
- #583265
#583265
oklch(38.7% 0.094 317)
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 #2A4F17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.022
- Forest #0B5509 ΔE 0.033
- Pine Green #0A481E ΔE 0.039
- Bottle Green #044A05 ΔE 0.039
- Darkgreen #054907 ΔE 0.040
- British Racing Green #05480D ΔE 0.041
- Deep Green #02590F ΔE 0.041
- Forrest Green #154406 ΔE 0.046
Use #2A4F17 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.