#335B2B#335B2B
#335B2B is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.088 H 140.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #335B2B |
|---|---|
| RGB | rgb(51, 91, 43) |
| HSL | hsl(110, 36%, 26%) |
| HSV | hsv(110, 53%, 36%) |
| CMYK | cmyk(44%, 0%, 52.7%, 64.3%) |
| CIE-LAB | lab(34.72, -24.74, 23.22) |
| CIE-LCH | lch(34.72, 33.93, 136.82°) |
| OKLab | oklab(42.88% -0.0677 0.0561) |
| OKLCH | oklch(42.88% 0.088 140.4) |
| XYZ | xyz(5.5422, 8.3601, 3.6067) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.18
Pine
#2B5D34
ΔE00 3.03
Hunter Green
#355E3B
ΔE00 4.00
Deep Green
#02590F
ΔE00 6.36
Forest
#0B5509
ΔE00 6.45
Spruce
#0A5F38
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335B2B #532B5B
analogous
#4B5B2B #335B2B #2B5B3B
triadic
#335B2B #2B335B #5B2B33
tetradic
#335B2B #2B4B5B #532B5B #5B3B2B
square
#335B2B #2B4B5B #532B5B #5B3B2B
split-complementary
#335B2B #3B2B5B #5B2B4B
monochromatic
#0C150A #1C3117 #335B2B #4A853F #62AE53
Accessibility & contrast
On white
7.86
#335B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#335B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335B2B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335B2B | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#305850
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #335b2b; /* rgb */ color: rgb(51, 91, 43); /* oklch */ color: oklch(42.9% 0.088 140.4);
Tailwind
colors: {
custom: {
50: '#6d8a65',
500: '#335b2b',
950: '#000000',
},
}SCSS
$custom: #335b2b; $custom-light: #6d8a65; $custom-dark: #000000;
JSON
{
"hex": "#335b2b",
"rgb": {
"r": 51,
"g": 91,
"b": 43
},
"hsl": {
"h": 110,
"s": 35.821,
"l": 26.275
},
"oklch": {
"l": 0.4288,
"c": 0.08787,
"h": 140.4
},
"luminance": 0.0836
}Semantic roles & 50–950 ramp
primary
#335B2B
secondary
#84558D
accent
#5CCCB9
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B06
muted
#7A7C7A