#335A37
Closest named color: Pine (#2B5D34). oklch(42.8% 0.072 146.5), rgb(51, 90, 55).
Aa
White text reads best on this color (7.89:1).
About this color
#335A37 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.072 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.014 away. White text reads best on it, at 7.89:1.
| Hue family | Greens |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.072) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.65:1 |
| White text | 7.89:1 |
Values
| HEX | #335A37 |
| RGB | rgb(51, 90, 55) |
| HSL | hsl(126, 28%, 28%) |
| OKLCH | oklch(42.8% 0.072 146.5) |
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 #335A37 | 7.89:1 | AAA | Lc -92.0 | Preferred for body text |
| Black text on #335A37 | 2.65:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #335A37 text on white | 7.89:1 | AAA | Lc 87.3 | Fine for body text |
| #335A37 text on black | 2.65:1 | Fails | Lc -14.8 | 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
#F3F6F3
oklch(97% 0.005 145.5)
-
Step 100
100
#E5ECE5
oklch(93.6% 0.012 145.5)
-
Step 200
200
#D0DED0
oklch(88.6% 0.024 145.4)
-
Step 300
300
#B0C8B1
oklch(80.8% 0.041 146.3)
-
Step 400
400
#85AC88
oklch(70.6% 0.067 146.8)
-
Step 500
500
#66986A
oklch(63.2% 0.087 146.4)
-
Step 600
600
#4C8252
oklch(55.6% 0.094 146.7)
-
Step 700
700
#3D6E42
oklch(49.1% 0.088 146.4)
-
Step 800
800 (this color)
#335A37
oklch(42.8% 0.072 146.5)
-
Step 900
900
#2D4A2F
oklch(37.8% 0.057 145.9)
-
Step 950
950
#1B2B1C
oklch(27% 0.035 146.1)
#335A37 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) | #5B5435 | 0.057 |
| Deuteranopia (no green cones) | #555039 | 0.056 |
| Tritanopia (no blue cones) | #2E5851 | 0.043 |
| Achromatopsia (no color) | #515151 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335A37
#335A37
oklch(42.8% 0.072 146.5)
- #644164
#644164
oklch(42.9% 0.071 326.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 #335A37, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.014
- Spruce #0A5F38 ΔE 0.030
- Navy Green #35530A ΔE 0.046
- Army Green #4B5D16 ΔE 0.047
- Dark Green Blue #1F6357 ΔE 0.047
- Camouflage Green #4B6113 ΔE 0.055
- Dark Blue Green #005249 ΔE 0.056
- Green Brown #544E03 ΔE 0.060
Use #335A37 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.