#334F20
Closest named color: Navy Green (#35530A). oklch(39.3% 0.08 134.3), rgb(51, 79, 32).
Aa
White text reads best on this color (9.21:1).
About this color
#334F20 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.080 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.026 away. White text reads best on it, at 9.21:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.28:1 |
| White text | 9.21:1 |
Values
| HEX | #334F20 |
| RGB | rgb(51, 79, 32) |
| HSL | hsl(96, 42%, 22%) |
| OKLCH | oklch(39.3% 0.08 134.3) |
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 #334F20 | 9.21:1 | AAA | Lc -95.5 | Preferred for body text |
| Black text on #334F20 | 2.28:1 | Fails | Lc 12.8 | Not readable |
| #334F20 text on white | 9.21:1 | AAA | Lc 91.1 | Preferred for body text |
| #334F20 text on black | 2.28:1 | Fails | Lc -11.2 | 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
#E5EDE1
oklch(93.7% 0.018 134.9)
-
Step 200
200
#D0DEC8
oklch(88.4% 0.033 134)
-
Step 300
300
#B1CAA3
oklch(81% 0.06 134.4)
-
Step 400
400
#87AE70
oklch(70.7% 0.096 134.5)
-
Step 500
500
#699949
oklch(63% 0.122 134.3)
-
Step 600
600
#508429
oklch(55.7% 0.134 134.4)
-
Step 700
700
#416F1B
oklch(49.1% 0.124 134.1)
-
Step 800
800
#365B1A
oklch(42.8% 0.103 134.3)
-
Step 900
900 (this color)
#334F20
oklch(39.3% 0.08 134.3)
-
Step 950
950
#1C2C11
oklch(27.1% 0.051 133.9)
#334F20 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) | #52491C | 0.049 |
| Deuteranopia (no green cones) | #4E4723 | 0.048 |
| Tritanopia (no blue cones) | #334C44 | 0.058 |
| Achromatopsia (no color) | #484848 | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334F20
#334F20
oklch(39.3% 0.08 134.3)
- #553864
#553864
oklch(39.3% 0.08 313.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 #334F20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.026
- Pine #2B5D34 ΔE 0.044
- Pine Green #0A481E ΔE 0.047
- Forest #0B5509 ΔE 0.048
- Green Brown #544E03 ΔE 0.049
- Evergreen #05472A ΔE 0.053
- Spruce #0A5F38 ΔE 0.053
- Deep Green #02590F ΔE 0.053
Use #334F20 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.