#335B2E#335B2E
#335B2E is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.085 H 141.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #335B2E |
|---|---|
| RGB | rgb(51, 91, 46) |
| HSL | hsl(113, 33%, 27%) |
| HSV | hsv(113, 49%, 36%) |
| CMYK | cmyk(44%, 0%, 49.5%, 64.3%) |
| CIE-LAB | lab(34.77, -24.28, 21.56) |
| CIE-LCH | lch(34.77, 32.47, 138.39°) |
| OKLab | oklab(42.93% -0.0662 0.0525) |
| OKLCH | oklch(42.93% 0.085 141.6) |
| XYZ | xyz(5.5992, 8.3829, 3.9073) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.70
Pine
#2B5D34
ΔE00 2.42
Hunter Green
#355E3B
ΔE00 3.23
Spruce
#0A5F38
ΔE00 6.08
Deep Green
#02590F
ΔE00 6.87
Forest
#0B5509
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335B2E #562E5B
analogous
#4A5B2E #335B2E #2E5B40
triadic
#335B2E #2E335B #5B2E33
tetradic
#335B2E #2E4A5B #562E5B #5B402E
square
#335B2E #2E4A5B #562E5B #5B402E
split-complementary
#335B2E #402E5B #5B2E4A
monochromatic
#0B140A #1C3219 #335B2E #4A8443 #62AB59
Accessibility & contrast
On white
7.85
#335B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#335B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335B2E
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335B2E | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#2F5950
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #335b2e; /* rgb */ color: rgb(51, 91, 46); /* oklch */ color: oklch(42.9% 0.085 141.6);
Tailwind
colors: {
custom: {
50: '#6d8a67',
500: '#335b2e',
950: '#000000',
},
}SCSS
$custom: #335b2e; $custom-light: #6d8a67; $custom-dark: #000000;
JSON
{
"hex": "#335b2e",
"rgb": {
"r": 51,
"g": 91,
"b": 46
},
"hsl": {
"h": 113.333,
"s": 32.847,
"l": 26.863
},
"oklch": {
"l": 0.42932,
"c": 0.08454,
"h": 141.6
},
"luminance": 0.08383
}Semantic roles & 50–950 ramp
primary
#335B2E
secondary
#87588D
accent
#5FC9BD
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B06
muted
#7A7C7A