#335331#335331
#335331 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.7% C 0.067 H 142.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #335331 |
|---|---|
| RGB | rgb(51, 83, 49) |
| HSL | hsl(116, 26%, 26%) |
| HSV | hsv(116, 41%, 33%) |
| CMYK | cmyk(38.6%, 0%, 41%, 67.5%) |
| CIE-LAB | lab(32.06, -19.65, 16.30) |
| CIE-LCH | lch(32.06, 25.53, 140.32°) |
| OKLab | oklab(40.75% -0.0536 0.0405) |
| OKLCH | oklch(40.75% 0.067 142.9) |
| XYZ | xyz(5.0127, 7.1118, 4.0137) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.82
Pine
#2B5D34
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 4.92
Pine Green
#0A481E
ΔE00 6.54
Evergreen
#05472A
ΔE00 7.12
Spruce
#0A5F38
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335331 #513153
analogous
#445331 #335331 #315340
triadic
#335331 #313353 #533133
tetradic
#335331 #314453 #513153 #534031
square
#335331 #314453 #513153 #534031
split-complementary
#335331 #403153 #533144
monochromatic
#0C130B #1B2D1A #335331 #4B7948 #62A05E
Accessibility & contrast
On white
8.67
#335331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#335331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335331
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335331 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2F
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#30514A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #335331; /* rgb */ color: rgb(51, 83, 49); /* oklch */ color: oklch(40.7% 0.067 142.9);
Tailwind
colors: {
custom: {
50: '#6c8369',
500: '#335331',
950: '#000000',
},
}SCSS
$custom: #335331; $custom-light: #6c8369; $custom-dark: #000000;
JSON
{
"hex": "#335331",
"rgb": {
"r": 51,
"g": 83,
"b": 49
},
"hsl": {
"h": 116.471,
"s": 25.758,
"l": 25.882
},
"oklch": {
"l": 0.40747,
"c": 0.06716,
"h": 142.9
},
"luminance": 0.07112
}Semantic roles & 50–950 ramp
primary
#335331
secondary
#825C84
accent
#66C2BD
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A