#335C2A#335C2A
#335C2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.091 H 140.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #335C2A |
|---|---|
| RGB | rgb(51, 92, 42) |
| HSL | hsl(109, 37%, 26%) |
| HSV | hsv(109, 54%, 36%) |
| CMYK | cmyk(44.6%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(35.05, -25.38, 24.19) |
| CIE-LCH | lch(35.05, 35.06, 136.37°) |
| OKLab | oklab(43.15% -0.0694 0.0582) |
| OKLCH | oklch(43.15% 0.091 140.1) |
| XYZ | xyz(5.6101, 8.5249, 3.5399) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.11
Pine
#2B5D34
ΔE00 3.28
Hunter Green
#355E3B
ΔE00 4.35
Deep Green
#02590F
ΔE00 6.08
Forest
#0B5509
ΔE00 6.22
Navy Green
#35530A
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C2A #532A5C
analogous
#4C5C2A #335C2A #2A5C3A
triadic
#335C2A #2A335C #5C2A33
tetradic
#335C2A #2A4C5C #532A5C #5C3A2A
square
#335C2A #2A4C5C #532A5C #5C3A2A
split-complementary
#335C2A #3A2A5C #5C2A4C
monochromatic
#0C150A #1C3217 #335C2A #4A863D #62B051
Accessibility & contrast
On white
7.76
#335C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#335C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C2A
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C2A | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5526
Deuteranopia (green-blind)
#59512D
Tritanopia (blue-blind)
#305950
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #335c2a; /* rgb */ color: rgb(51, 92, 42); /* oklch */ color: oklch(43.1% 0.091 140.1);
Tailwind
colors: {
custom: {
50: '#6e8a65',
500: '#335c2a',
950: '#000000',
},
}SCSS
$custom: #335c2a; $custom-light: #6e8a65; $custom-dark: #000000;
JSON
{
"hex": "#335c2a",
"rgb": {
"r": 51,
"g": 92,
"b": 42
},
"hsl": {
"h": 109.2,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.43145,
"c": 0.09058,
"h": 140.1
},
"luminance": 0.08525
}Semantic roles & 50–950 ramp
primary
#335C2A
secondary
#84538E
accent
#5BCDB9
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A