#335227
Closest named color: Navy Green (#35530A). oklch(40.3% 0.077 137.6), rgb(51, 82, 39).
Aa
White text reads best on this color (8.83:1).
About this color
#335227 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.077 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.028 away. White text reads best on it, at 8.83:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.37:1 |
| White text | 8.83:1 |
Values
| HEX | #335227 |
| RGB | rgb(51, 82, 39) |
| HSL | hsl(103, 36%, 24%) |
| OKLCH | oklch(40.3% 0.077 137.6) |
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 #335227 | 8.83:1 | AAA | Lc -94.6 | Preferred for body text |
| Black text on #335227 | 2.37:1 | Fails | Lc 13.9 | Not readable |
| #335227 text on white | 8.83:1 | AAA | Lc 90.1 | Preferred for body text |
| #335227 text on black | 2.37:1 | Fails | Lc -12.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 800.
-
Step 50
50
#F3F6F2
oklch(97% 0.006 137.8)
-
Step 100
100
#E6ECE4
oklch(93.6% 0.012 137.8)
-
Step 200
200
#D1DDCD
oklch(88.4% 0.025 137.8)
-
Step 300
300
#B3C8AC
oklch(80.9% 0.045 137.9)
-
Step 400
400
#8BAC7F
oklch(70.8% 0.073 137.5)
-
Step 500
500
#6E975F
oklch(63.2% 0.093 137.6)
-
Step 600
600
#558145
oklch(55.6% 0.101 137.8)
-
Step 700
700
#466D36
oklch(49.1% 0.094 137.2)
-
Step 800
800 (this color)
#335227
oklch(40.3% 0.077 137.6)
-
Step 900
900
#324929
oklch(37.7% 0.06 137.3)
-
Step 950
950
#1D2B18
oklch(27% 0.039 137.7)
#335227 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) | #544C23 | 0.050 |
| Deuteranopia (no green cones) | #50492A | 0.051 |
| Tritanopia (no blue cones) | #324F48 | 0.054 |
| Achromatopsia (no color) | #4A4A4A | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335227
#335227
oklch(40.3% 0.077 137.6)
- #593A64
#593A64
oklch(40.2% 0.078 316.9)
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 #335227, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.028
- Pine #2B5D34 ΔE 0.034
- Spruce #0A5F38 ΔE 0.044
- Green Brown #544E03 ΔE 0.050
- Forest #0B5509 ΔE 0.050
- Deep Green #02590F ΔE 0.053
- Army Green #4B5D16 ΔE 0.054
- Pine Green #0A481E ΔE 0.054
Use #335227 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.