#335E2A#335E2A
#335E2A is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.094 H 140.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #335E2A |
|---|---|
| RGB | rgb(51, 94, 42) |
| HSL | hsl(110, 38%, 27%) |
| HSV | hsv(110, 55%, 37%) |
| CMYK | cmyk(45.7%, 0%, 55.3%, 63.1%) |
| CIE-LAB | lab(35.74, -26.35, 25.03) |
| CIE-LCH | lch(35.74, 36.35, 136.47°) |
| OKLab | oklab(43.71% -0.0721 0.06) |
| OKLCH | oklch(43.71% 0.094 140.2) |
| XYZ | xyz(5.7856, 8.8760, 3.5984) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.49
Pine
#2B5D34
ΔE00 3.48
Hunter Green
#355E3B
ΔE00 4.63
Deep Green
#02590F
ΔE00 5.88
Forest
#0B5509
ΔE00 6.16
Navy Green
#35530A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335E2A #552A5E
analogous
#4D5E2A #335E2A #2A5E3B
triadic
#335E2A #2A335E #5E2A33
tetradic
#335E2A #2A4D5E #552A5E #5E3B2A
square
#335E2A #2A4D5E #552A5E #5E3B2A
split-complementary
#335E2A #3B2A5E #5E2A4D
monochromatic
#0B1509 #1C3417 #335E2A #4A883D #62B151
Accessibility & contrast
On white
7.57
#335E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#335E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335E2A
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335E2A | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#5A532E
Tritanopia (blue-blind)
#2F5B52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #335e2a; /* rgb */ color: rgb(51, 94, 42); /* oklch */ color: oklch(43.7% 0.094 140.2);
Tailwind
colors: {
custom: {
50: '#6e8c65',
500: '#335e2a',
950: '#000000',
},
}SCSS
$custom: #335e2a; $custom-light: #6e8c65; $custom-dark: #000000;
JSON
{
"hex": "#335e2a",
"rgb": {
"r": 51,
"g": 94,
"b": 42
},
"hsl": {
"h": 109.615,
"s": 38.235,
"l": 26.667
},
"oklch": {
"l": 0.4371,
"c": 0.09381,
"h": 140.2
},
"luminance": 0.08876
}Semantic roles & 50–950 ramp
primary
#335E2A
secondary
#865390
accent
#5ACEBA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A