#335A2E#335A2E
#335A2E is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.7% C 0.083 H 141.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #335A2E |
|---|---|
| RGB | rgb(51, 90, 46) |
| HSL | hsl(113, 32%, 27%) |
| HSV | hsv(113, 49%, 35%) |
| CMYK | cmyk(43.3%, 0%, 48.9%, 64.7%) |
| CIE-LAB | lab(34.42, -23.78, 21.13) |
| CIE-LCH | lch(34.42, 31.81, 138.38°) |
| OKLab | oklab(42.65% -0.0649 0.0515) |
| OKLCH | oklch(42.65% 0.083 141.6) |
| XYZ | xyz(5.5143, 8.2131, 3.8790) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.88
Pine
#2B5D34
ΔE00 2.49
Hunter Green
#355E3B
ΔE00 3.18
Spruce
#0A5F38
ΔE00 6.16
Deep Green
#02590F
ΔE00 7.04
Forest
#0B5509
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335A2E #552E5A
analogous
#495A2E #335A2E #2E5A3F
triadic
#335A2E #2E335A #5A2E33
tetradic
#335A2E #2E495A #552E5A #5A3F2E
square
#335A2E #2E495A #552E5A #5A3F2E
split-complementary
#335A2E #3F2E5A #5A2E49
monochromatic
#0B140A #1C3219 #335A2E #4A8343 #62AA59
Accessibility & contrast
On white
7.95
#335A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#335A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335A2E
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335A2E | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532B
Deuteranopia (green-blind)
#565031
Tritanopia (blue-blind)
#2F584F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #335a2e; /* rgb */ color: rgb(51, 90, 46); /* oklch */ color: oklch(42.7% 0.083 141.6);
Tailwind
colors: {
custom: {
50: '#6d8967',
500: '#335a2e',
950: '#000000',
},
}SCSS
$custom: #335a2e; $custom-light: #6d8967; $custom-dark: #000000;
JSON
{
"hex": "#335a2e",
"rgb": {
"r": 51,
"g": 90,
"b": 46
},
"hsl": {
"h": 113.182,
"s": 32.353,
"l": 26.667
},
"oklch": {
"l": 0.42651,
"c": 0.08286,
"h": 141.6
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#335A2E
secondary
#86588C
accent
#5FC9BD
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B06
muted
#7A7C7A