#334A12
Closest named color: Navy Green (#35530A). oklch(37.7% 0.086 129.1), rgb(51, 74, 18).
Aa
White text reads best on this color (9.86:1).
About this color
#334A12 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.086 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.032 away. White text reads best on it, at 9.86:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.12:1 |
| White text | 9.86:1 |
Values
| HEX | #334A12 |
| RGB | rgb(51, 74, 18) |
| HSL | hsl(85, 61%, 18%) |
| OKLCH | oklch(37.7% 0.086 129.1) |
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 #334A12 | 9.86:1 | AAA | Lc -96.9 | Preferred for body text |
| Black text on #334A12 | 2.12:1 | Fails | Lc 11.2 | Not readable |
| #334A12 text on white | 9.86:1 | AAA | Lc 92.8 | Preferred for body text |
| #334A12 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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC6
oklch(88.5% 0.035 128.9)
-
Step 300
300
#B4C99E
oklch(80.9% 0.063 128.9)
-
Step 400
400
#8CAD67
oklch(70.6% 0.102 129.3)
-
Step 500
500
#70983B
oklch(63% 0.13 129.2)
-
Step 600
600
#58820E
oklch(55.5% 0.142 129.1)
-
Step 700
700
#496E00
oklch(49.1% 0.13 129)
-
Step 800
800
#3B5A06
oklch(42.7% 0.11 129.4)
-
Step 900
900 (this color)
#334A12
oklch(37.7% 0.086 129.1)
-
Step 950
950
#1E2B0C
oklch(26.9% 0.054 128.6)
#334A12 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) | #4E440A | 0.044 |
| Deuteranopia (no green cones) | #4B4317 | 0.044 |
| Tritanopia (no blue cones) | #35463F | 0.068 |
| Achromatopsia (no color) | #434343 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A12
#334A12
oklch(37.7% 0.086 129.1)
- #4F3364
#4F3364
oklch(37.7% 0.087 309.2)
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 #334A12, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.032
- Dark Olive #373E02 ΔE 0.037
- Pine Green #0A481E ΔE 0.039
- Forrest Green #154406 ΔE 0.043
- British Racing Green #05480D ΔE 0.044
- Darkgreen #054907 ΔE 0.044
- Bottle Green #044A05 ΔE 0.044
- Evergreen #05472A ΔE 0.048
Use #334A12 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.