#334A02
Closest named color: Navy Green (#35530A). oklch(37.6% 0.096 127.3), rgb(51, 74, 2).
Aa
White text reads best on this color (9.90:1).
About this color
#334A02 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.096 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.029 away. White text reads best on it, at 9.90:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.12:1 |
| White text | 9.90:1 |
Values
| HEX | #334A02 |
| RGB | rgb(51, 74, 2) |
| HSL | hsl(79, 95%, 15%) |
| OKLCH | oklch(37.6% 0.096 127.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 #334A02 | 9.90:1 | AAA | Lc -97.0 | Preferred for body text |
| Black text on #334A02 | 2.12:1 | Fails | Lc 11.1 | Not readable |
| #334A02 text on white | 9.90:1 | AAA | Lc 92.8 | Preferred for body text |
| #334A02 text on black | 2.12:1 | Fails | Lc -9.7 | 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
#F4F7F0
oklch(97.2% 0.01 125.7)
-
Step 100
100
#E6EDDE
oklch(93.7% 0.021 127.4)
-
Step 200
200
#D2DFC3
oklch(88.6% 0.04 127.6)
-
Step 300
300
#B4CA98
oklch(81% 0.072 127.2)
-
Step 400
400
#8DAE5C
oklch(70.7% 0.116 127.1)
-
Step 500
500
#719926
oklch(63.1% 0.147 127.2)
-
Step 600
600
#5C8200
oklch(55.7% 0.144 127.3)
-
Step 700
700
#4C6D00
oklch(49.1% 0.127 127.5)
-
Step 800
800
#3E5900
oklch(42.6% 0.11 127.2)
-
Step 900
900 (this color)
#334A02
oklch(37.6% 0.096 127.3)
-
Step 950
950
#1E2C07
oklch(27.1% 0.061 127.8)
#334A02 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) | #4E4400 | 0.046 |
| Deuteranopia (no green cones) | #4B430A | 0.045 |
| Tritanopia (no blue cones) | #35463E | 0.077 |
| Achromatopsia (no color) | #434343 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A02
#334A02
oklch(37.6% 0.096 127.3)
- #4F3168
#4F3168
oklch(37.5% 0.096 307.6)
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 #334A02, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.029
- Dark Olive #373E02 ΔE 0.039
- Bottle Green #044A05 ΔE 0.040
- Darkgreen #054907 ΔE 0.041
- Forrest Green #154406 ΔE 0.041
- British Racing Green #05480D ΔE 0.042
- Pine Green #0A481E ΔE 0.042
- Forest #0B5509 ΔE 0.044
Use #334A02 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.