#335C2E#335C2E
#335C2E is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.086 H 141.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #335C2E |
|---|---|
| RGB | rgb(51, 92, 46) |
| HSL | hsl(113, 33%, 27%) |
| HSV | hsv(113, 50%, 36%) |
| CMYK | cmyk(44.6%, 0%, 50%, 63.9%) |
| CIE-LAB | lab(35.11, -24.77, 22.00) |
| CIE-LCH | lch(35.11, 33.13, 138.40°) |
| OKLab | oklab(43.21% -0.0676 0.0535) |
| OKLCH | oklch(43.21% 0.086 141.6) |
| XYZ | xyz(5.6853, 8.5550, 3.9359) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.59
Pine
#2B5D34
ΔE00 2.41
Hunter Green
#355E3B
ΔE00 3.33
Spruce
#0A5F38
ΔE00 6.03
Deep Green
#02590F
ΔE00 6.71
Forest
#0B5509
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C2E #572E5C
analogous
#4A5C2E #335C2E #2E5C40
triadic
#335C2E #2E335C #5C2E33
tetradic
#335C2E #2E4A5C #572E5C #5C402E
square
#335C2E #2E4A5C #572E5C #5C402E
split-complementary
#335C2E #402E5C #5C2E4A
monochromatic
#0B140A #1C331A #335C2E #4A8542 #62AC59
Accessibility & contrast
On white
7.75
#335C2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#335C2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C2E
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C2E | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#2F5951
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #335c2e; /* rgb */ color: rgb(51, 92, 46); /* oklch */ color: oklch(43.2% 0.086 141.6);
Tailwind
colors: {
custom: {
50: '#6d8a67',
500: '#335c2e',
950: '#000000',
},
}SCSS
$custom: #335c2e; $custom-light: #6d8a67; $custom-dark: #000000;
JSON
{
"hex": "#335c2e",
"rgb": {
"r": 51,
"g": 92,
"b": 46
},
"hsl": {
"h": 113.478,
"s": 33.333,
"l": 27.059
},
"oklch": {
"l": 0.43214,
"c": 0.0862,
"h": 141.6
},
"luminance": 0.08555
}Semantic roles & 50–950 ramp
primary
#335C2E
secondary
#88588E
accent
#5EC9BE
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A