#335C42#335C42
#335C42 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.7% C 0.064 H 154.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #335C42 |
|---|---|
| RGB | rgb(51, 92, 66) |
| HSL | hsl(142, 29%, 28%) |
| HSV | hsv(142, 45%, 36%) |
| CMYK | cmyk(44.6%, 0%, 28.3%, 63.9%) |
| CIE-LAB | lab(35.50, -20.98, 10.56) |
| CIE-LCH | lch(35.50, 23.49, 153.28°) |
| OKLab | oklab(43.66% -0.0576 0.0269) |
| OKLCH | oklch(43.66% 0.064 154.9) |
| XYZ | xyz(6.1753, 8.7510, 6.5169) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.99
Pine
#2B5D34
ΔE00 4.70
Spruce
#0A5F38
ΔE00 5.94
Dark Green Blue
#1F6357
ΔE00 7.42
Forest Green
#2D5A27
ΔE00 7.42
Evergreen
#05472A
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C42 #5C334D
analogous
#385C33 #335C42 #335C56
triadic
#335C42 #42335C #5C4233
tetradic
#335C42 #33385C #5C334D #5C5633
square
#335C42 #33385C #5C334D #5C5633
split-complementary
#335C42 #56335C #5C3338
monochromatic
#0B140E #1D3526 #335C42 #49835E #62A87B
Accessibility & contrast
On white
7.64
#335C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#335C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C42
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C42 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5640
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#2A5B55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #335c42; /* rgb */ color: rgb(51, 92, 66); /* oklch */ color: oklch(43.7% 0.064 154.9);
Tailwind
colors: {
custom: {
50: '#6d8a76',
500: '#335c42',
950: '#000000',
},
}SCSS
$custom: #335c42; $custom-light: #6d8a76; $custom-dark: #000000;
JSON
{
"hex": "#335c42",
"rgb": {
"r": 51,
"g": 92,
"b": 66
},
"hsl": {
"h": 141.951,
"s": 28.671,
"l": 28.039
},
"oklch": {
"l": 0.43656,
"c": 0.06355,
"h": 154.9
},
"luminance": 0.08751
}Semantic roles & 50–950 ramp
primary
#335C42
secondary
#8D5E7C
accent
#63A1C5
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B