#335A2B#335A2B
#335A2B is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.6% C 0.086 H 140.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #335A2B |
|---|---|
| RGB | rgb(51, 90, 43) |
| HSL | hsl(110, 35%, 26%) |
| HSV | hsv(110, 52%, 35%) |
| CMYK | cmyk(43.3%, 0%, 52.2%, 64.7%) |
| CIE-LAB | lab(34.38, -24.25, 22.79) |
| CIE-LCH | lch(34.38, 33.28, 136.77°) |
| OKLab | oklab(42.6% -0.0663 0.0551) |
| OKLCH | oklch(42.6% 0.086 140.3) |
| XYZ | xyz(5.4572, 8.1902, 3.5784) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.32
Pine
#2B5D34
ΔE00 3.05
Hunter Green
#355E3B
ΔE00 3.93
Deep Green
#02590F
ΔE00 6.52
Navy Green
#35530A
ΔE00 6.53
Forest
#0B5509
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335A2B #522B5A
analogous
#4A5A2B #335A2B #2B5A3A
triadic
#335A2B #2B335A #5A2B33
tetradic
#335A2B #2B4A5A #522B5A #5A3A2B
square
#335A2B #2B4A5A #522B5A #5A3A2B
split-complementary
#335A2B #3A2B5A #5A2B4A
monochromatic
#0C150A #1C3117 #335A2B #4A833F #62AD53
Accessibility & contrast
On white
7.96
#335A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#335A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335A2B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335A2B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5327
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#30574F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #335a2b; /* rgb */ color: rgb(51, 90, 43); /* oklch */ color: oklch(42.6% 0.086 140.3);
Tailwind
colors: {
custom: {
50: '#6d8965',
500: '#335a2b',
950: '#000000',
},
}SCSS
$custom: #335a2b; $custom-light: #6d8965; $custom-dark: #000000;
JSON
{
"hex": "#335a2b",
"rgb": {
"r": 51,
"g": 90,
"b": 43
},
"hsl": {
"h": 109.787,
"s": 35.338,
"l": 26.078
},
"oklch": {
"l": 0.42598,
"c": 0.08621,
"h": 140.3
},
"luminance": 0.08191
}Semantic roles & 50–950 ramp
primary
#335A2B
secondary
#83558C
accent
#5CCBB8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B06
muted
#7A7C7A