#335A2D#335A2D
#335A2D is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.6% C 0.084 H 141.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #335A2D |
|---|---|
| RGB | rgb(51, 90, 45) |
| HSL | hsl(112, 33%, 26%) |
| HSV | hsv(112, 50%, 35%) |
| CMYK | cmyk(43.3%, 0%, 50%, 64.7%) |
| CIE-LAB | lab(34.41, -23.94, 21.69) |
| CIE-LCH | lch(34.41, 32.30, 137.83°) |
| OKLab | oklab(42.63% -0.0654 0.0527) |
| OKLCH | oklch(42.63% 0.084 141.1) |
| XYZ | xyz(5.4948, 8.2053, 3.7764) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.67
Pine
#2B5D34
ΔE00 2.67
Hunter Green
#355E3B
ΔE00 3.43
Spruce
#0A5F38
ΔE00 6.30
Deep Green
#02590F
ΔE00 6.86
Forest
#0B5509
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335A2D #542D5A
analogous
#4A5A2D #335A2D #2D5A3E
triadic
#335A2D #2D335A #5A2D33
tetradic
#335A2D #2D4A5A #542D5A #5A3E2D
square
#335A2D #2D4A5A #542D5A #5A3E2D
split-complementary
#335A2D #3E2D5A #5A2D4A
monochromatic
#0C140A #1C3119 #335A2D #4A8341 #62AB57
Accessibility & contrast
On white
7.95
#335A2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#335A2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335A2D
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335A2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335A2D | 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)
#5C5329
Deuteranopia (green-blind)
#565030
Tritanopia (blue-blind)
#30584F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #335a2d; /* rgb */ color: rgb(51, 90, 45); /* oklch */ color: oklch(42.6% 0.084 141.1);
Tailwind
colors: {
custom: {
50: '#6d8967',
500: '#335a2d',
950: '#000000',
},
}SCSS
$custom: #335a2d; $custom-light: #6d8967; $custom-dark: #000000;
JSON
{
"hex": "#335a2d",
"rgb": {
"r": 51,
"g": 90,
"b": 45
},
"hsl": {
"h": 112,
"s": 33.333,
"l": 26.471
},
"oklch": {
"l": 0.42633,
"c": 0.08399,
"h": 141.1
},
"luminance": 0.08206
}Semantic roles & 50–950 ramp
primary
#335A2D
secondary
#85578C
accent
#5EC9BB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B06
muted
#7A7C7A