#334F28
Closest named color: Navy Green (#35530A). oklch(39.4% 0.071 137.4), rgb(51, 79, 40).
Aa
White text reads best on this color (9.17:1).
About this color
#334F28 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.071 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.035 away. White text reads best on it, at 9.17:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.28:1 |
| White text | 9.17:1 |
Values
| HEX | #334F28 |
| RGB | rgb(51, 79, 40) |
| HSL | hsl(103, 33%, 23%) |
| OKLCH | oklch(39.4% 0.071 137.4) |
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 #334F28 | 9.17:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #334F28 | 2.28:1 | Fails | Lc 12.9 | Not readable |
| #334F28 text on white | 9.17:1 | AAA | Lc 91.0 | Preferred for body text |
| #334F28 text on black | 2.28:1 | Fails | Lc -11.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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E5ECE2
oklch(93.5% 0.015 136.1)
-
Step 200
200
#D0DECB
oklch(88.5% 0.03 137.4)
-
Step 300
300
#B1C9A8
oklch(80.9% 0.052 137.2)
-
Step 400
400
#87AD79
oklch(70.6% 0.084 137.5)
-
Step 500
500
#699956
oklch(63.2% 0.109 137.3)
-
Step 600
600
#4F833A
oklch(55.6% 0.119 137.5)
-
Step 700
700
#406F2C
oklch(49.2% 0.111 137.4)
-
Step 800
800
#355A26
oklch(42.6% 0.09 137.5)
-
Step 900
900 (this color)
#334F28
oklch(39.4% 0.071 137.4)
-
Step 950
950
#1B2C15
oklch(27.1% 0.047 137.9)
#334F28 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) | #514925 | 0.047 |
| Deuteranopia (no green cones) | #4D472A | 0.046 |
| Tritanopia (no blue cones) | #324D46 | 0.049 |
| Achromatopsia (no color) | #484848 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334F28
#334F28
oklch(39.4% 0.071 137.4)
- #563A5F
#563A5F
oklch(39.6% 0.07 317.7)
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 #334F28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.035
- Pine #2B5D34 ΔE 0.043
- Pine Green #0A481E ΔE 0.049
- Evergreen #05472A ΔE 0.051
- Green Brown #544E03 ΔE 0.052
- Spruce #0A5F38 ΔE 0.052
- Dark Blue Green #005249 ΔE 0.054
- Forest #0B5509 ΔE 0.055
Use #334F28 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.