#335C2D#335C2D
#335C2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.2% C 0.087 H 141.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #335C2D |
|---|---|
| RGB | rgb(51, 92, 45) |
| HSL | hsl(112, 34%, 27%) |
| HSV | hsv(112, 51%, 36%) |
| CMYK | cmyk(44.6%, 0%, 51.1%, 63.9%) |
| CIE-LAB | lab(35.10, -24.93, 22.55) |
| CIE-LCH | lch(35.10, 33.61, 137.87°) |
| OKLab | oklab(43.2% -0.0681 0.0547) |
| OKLCH | oklch(43.2% 0.087 141.2) |
| XYZ | xyz(5.6658, 8.5472, 3.8333) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.41
Pine
#2B5D34
ΔE00 2.62
Hunter Green
#355E3B
ΔE00 3.59
Spruce
#0A5F38
ΔE00 6.18
Deep Green
#02590F
ΔE00 6.54
Forest
#0B5509
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C2D #562D5C
analogous
#4B5C2D #335C2D #2D5C3F
triadic
#335C2D #2D335C #5C2D33
tetradic
#335C2D #2D4B5C #562D5C #5C3F2D
square
#335C2D #2D4B5C #562D5C #5C3F2D
split-complementary
#335C2D #3F2D5C #5C2D4B
monochromatic
#0B150A #1C3319 #335C2D #4A8541 #62AD57
Accessibility & contrast
On white
7.75
#335C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#335C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C2D
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C2D | 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)
#5E5529
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#2F5951
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #335c2d; /* rgb */ color: rgb(51, 92, 45); /* oklch */ color: oklch(43.2% 0.087 141.2);
Tailwind
colors: {
custom: {
50: '#6d8a67',
500: '#335c2d',
950: '#000000',
},
}SCSS
$custom: #335c2d; $custom-light: #6d8a67; $custom-dark: #000000;
JSON
{
"hex": "#335c2d",
"rgb": {
"r": 51,
"g": 92,
"b": 45
},
"hsl": {
"h": 112.34,
"s": 34.307,
"l": 26.863
},
"oklch": {
"l": 0.43196,
"c": 0.08731,
"h": 141.2
},
"luminance": 0.08548
}Semantic roles & 50–950 ramp
primary
#335C2D
secondary
#87578E
accent
#5DCABC
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A