#335B41#335B41
#335B41 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.4% C 0.063 H 154.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #335B41 |
|---|---|
| RGB | rgb(51, 91, 65) |
| HSL | hsl(141, 28%, 28%) |
| HSV | hsv(141, 44%, 36%) |
| CMYK | cmyk(44%, 0%, 28.6%, 64.3%) |
| CIE-LAB | lab(35.14, -20.67, 10.67) |
| CIE-LCH | lch(35.14, 23.26, 152.69°) |
| OKLab | oklab(43.35% -0.0567 0.0272) |
| OKLCH | oklch(43.35% 0.063 154.4) |
| XYZ | xyz(6.0601, 8.5672, 6.3343) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.01
Pine
#2B5D34
ΔE00 4.71
Spruce
#0A5F38
ΔE00 6.07
Forest Green
#2D5A27
ΔE00 7.33
Dark Green Blue
#1F6357
ΔE00 7.64
Evergreen
#05472A
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335B41 #5B334D
analogous
#395B33 #335B41 #335B55
triadic
#335B41 #41335B #5B4133
tetradic
#335B41 #33395B #5B334D #5B5533
square
#335B41 #33395B #5B334D #5B5533
split-complementary
#335B41 #55335B #5B3339
monochromatic
#0B140E #1D3425 #335B41 #49825D #62A77A
Accessibility & contrast
On white
7.74
#335B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#335B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335B41
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335B41 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B553F
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#2B5A54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #335b41; /* rgb */ color: rgb(51, 91, 65); /* oklch */ color: oklch(43.4% 0.063 154.4);
Tailwind
colors: {
custom: {
50: '#6d8975',
500: '#335b41',
950: '#000000',
},
}SCSS
$custom: #335b41; $custom-light: #6d8975; $custom-dark: #000000;
JSON
{
"hex": "#335b41",
"rgb": {
"r": 51,
"g": 91,
"b": 65
},
"hsl": {
"h": 141,
"s": 28.169,
"l": 27.843
},
"oklch": {
"l": 0.43354,
"c": 0.06288,
"h": 154.4
},
"luminance": 0.08568
}Semantic roles & 50–950 ramp
primary
#335B41
secondary
#8C5E7C
accent
#63A2C4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070B08
muted
#7A7C7B