#334C20
Closest named color: Navy Green (#35530A). oklch(38.5% 0.075 133.3), rgb(51, 76, 32).
Aa
White text reads best on this color (9.56:1).
About this color
#334C20 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.075 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.034 away. White text reads best on it, at 9.56:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.075) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.19:1 |
| White text | 9.56:1 |
Values
| HEX | #334C20 |
| RGB | rgb(51, 76, 32) |
| HSL | hsl(94, 41%, 21%) |
| OKLCH | oklch(38.5% 0.075 133.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 #334C20 | 9.56:1 | AAA | Lc -96.3 | Preferred for body text |
| Black text on #334C20 | 2.19:1 | Fails | Lc 11.9 | Not readable |
| #334C20 text on white | 9.56:1 | AAA | Lc 92.1 | Preferred for body text |
| #334C20 text on black | 2.19:1 | Fails | Lc -10.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 900.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E6ECE1
oklch(93.5% 0.016 130.4)
-
Step 200
200
#D1DEC9
oklch(88.5% 0.032 133.3)
-
Step 300
300
#B2C9A4
oklch(80.9% 0.057 133.7)
-
Step 400
400
#8AAD73
oklch(70.7% 0.09 133.5)
-
Step 500
500
#6D984D
oklch(63% 0.114 133.3)
-
Step 600
600
#54822F
oklch(55.5% 0.124 133.5)
-
Step 700
700
#456E21
oklch(49.1% 0.116 133.2)
-
Step 800
800
#395A1D
oklch(42.8% 0.097 133.2)
-
Step 900
900 (this color)
#334C20
oklch(38.5% 0.075 133.3)
-
Step 950
950
#1D2B12
oklch(26.9% 0.047 132.8)
#334C20 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) | #4F461C | 0.045 |
| Deuteranopia (no green cones) | #4B4423 | 0.045 |
| Tritanopia (no blue cones) | #334942 | 0.055 |
| Achromatopsia (no color) | #454545 | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334C20
#334C20
oklch(38.5% 0.075 133.3)
- #523760
#523760
oklch(38.6% 0.075 313.5)
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 #334C20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.034
- Pine Green #0A481E ΔE 0.042
- Dark Olive #373E02 ΔE 0.045
- Evergreen #05472A ΔE 0.047
- British Racing Green #05480D ΔE 0.051
- Forrest Green #154406 ΔE 0.052
- Darkgreen #054907 ΔE 0.052
- Pine #2B5D34 ΔE 0.053
Use #334C20 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.