#336F40#336F40
#336F40 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.9% C 0.097 H 148.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #336F40 |
|---|---|
| RGB | rgb(51, 111, 64) |
| HSL | hsl(133, 37%, 32%) |
| HSV | hsv(133, 54%, 44%) |
| CMYK | cmyk(54.1%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.91, -30.72, 20.38) |
| CIE-LCH | lch(41.91, 36.87, 146.45°) |
| OKLab | oklab(48.87% -0.0833 0.0505) |
| OKLCH | oklch(48.87% 0.097 148.8) |
| XYZ | xyz(7.9746, 12.4422, 6.8308) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 6.01
Pine
#2B5D34
ΔE00 6.05
Hunter Green
#355E3B
ΔE00 6.30
Spruce
#0A5F38
ΔE00 6.64
Forest Green
#2D5A27
ΔE00 7.47
Jungle Green
#048243
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F40 #6F3362
analogous
#446F33 #336F40 #336F5E
triadic
#336F40 #40336F #6F4033
tetradic
#336F40 #33446F #6F3362 #6F5E33
square
#336F40 #33446F #6F3362 #6F5E33
split-complementary
#336F40 #5E336F #6F3344
monochromatic
#0C1B10 #204528 #336F40 #469958 #64B877
Accessibility & contrast
On white
6.02
#336F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#336F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F40
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F40 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#276D63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #336f40; /* rgb */ color: rgb(51, 111, 64); /* oklch */ color: oklch(48.9% 0.097 148.8);
Tailwind
colors: {
custom: {
50: '#709975',
500: '#336f40',
950: '#000000',
},
}SCSS
$custom: #336f40; $custom-light: #709975; $custom-dark: #000000;
JSON
{
"hex": "#336f40",
"rgb": {
"r": 51,
"g": 111,
"b": 64
},
"hsl": {
"h": 133,
"s": 37.037,
"l": 31.765
},
"oklch": {
"l": 0.48866,
"c": 0.09745,
"h": 148.8
},
"luminance": 0.12443
}Semantic roles & 50–950 ramp
primary
#336F40
secondary
#A05E92
accent
#5BB4CD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B