#335239#335239
#335239 is a dark, muted green. Relative luminance 0.070; OKLCH L 40.7% C 0.056 H 149.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #335239 |
|---|---|
| RGB | rgb(51, 82, 57) |
| HSL | hsl(132, 23%, 26%) |
| HSV | hsv(132, 38%, 32%) |
| CMYK | cmyk(37.8%, 0%, 30.5%, 67.8%) |
| CIE-LAB | lab(31.88, -17.55, 11.14) |
| CIE-LCH | lch(31.88, 20.79, 147.60°) |
| OKLab | oklab(40.66% -0.048 0.0283) |
| OKLCH | oklch(40.66% 0.056 149.5) |
| XYZ | xyz(5.1208, 7.0335, 4.9579) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.89
Pine
#2B5D34
ΔE00 6.16
Evergreen
#05472A
ΔE00 6.96
Forest Green
#2D5A27
ΔE00 7.66
Pine Green
#0A481E
ΔE00 7.97
Spruce
#0A5F38
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335239 #52334C
analogous
#3C5233 #335239 #335248
triadic
#335239 #393352 #523933
tetradic
#335239 #333C52 #52334C #524833
square
#335239 #333C52 #52334C #524833
split-complementary
#335239 #483352 #52333C
monochromatic
#0C130D #1C2C1F #335239 #4A7853 #629D6E
Accessibility & contrast
On white
8.73
#335239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#335239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335239
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335239 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D37
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#2E514B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #335239; /* rgb */ color: rgb(51, 82, 57); /* oklch */ color: oklch(40.7% 0.056 149.5);
Tailwind
colors: {
custom: {
50: '#6c836f',
500: '#335239',
950: '#000000',
},
}SCSS
$custom: #335239; $custom-light: #6c836f; $custom-dark: #000000;
JSON
{
"hex": "#335239",
"rgb": {
"r": 51,
"g": 82,
"b": 57
},
"hsl": {
"h": 131.613,
"s": 23.308,
"l": 26.078
},
"oklch": {
"l": 0.40659,
"c": 0.05571,
"h": 149.5
},
"luminance": 0.07034
}Semantic roles & 50–950 ramp
primary
#335239
secondary
#835E7C
accent
#68AFC0
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#070A07
muted
#7A7C7A