#336F4F#336F4F
#336F4F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.082 H 158.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #336F4F |
|---|---|
| RGB | rgb(51, 111, 79) |
| HSL | hsl(148, 37%, 32%) |
| HSV | hsv(148, 54%, 44%) |
| CMYK | cmyk(54.1%, 0%, 28.8%, 56.5%) |
| CIE-LAB | lab(42.21, -27.66, 12.00) |
| CIE-LCH | lch(42.21, 30.15, 156.54°) |
| OKLab | oklab(49.21% -0.0758 0.0306) |
| OKLCH | oklch(49.21% 0.082 158) |
| XYZ | xyz(8.4603, 12.6365, 9.3889) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 6.46
Spruce
#0A5F38
ΔE00 6.80
Pine
#2B5D34
ΔE00 7.17
Dark Green Blue
#1F6357
ΔE00 8.38
Dark Sea Green
#11875D
ΔE00 8.96
Darkish Green
#287C37
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F4F #6F3353
analogous
#356F33 #336F4F #336F6D
triadic
#336F4F #4F336F #6F4F33
tetradic
#336F4F #33356F #6F3353 #6F6D33
square
#336F4F #33356F #6F3353 #6F6D33
split-complementary
#336F4F #6D336F #6F3335
monochromatic
#0C1B13 #204531 #336F4F #46996D #64B88B
Accessibility & contrast
On white
5.95
#336F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#336F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F4F
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F4F | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#216E66
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #336f4f; /* rgb */ color: rgb(51, 111, 79); /* oklch */ color: oklch(49.2% 0.082 158.0);
Tailwind
colors: {
custom: {
50: '#709980',
500: '#336f4f',
950: '#000000',
},
}SCSS
$custom: #336f4f; $custom-light: #709980; $custom-dark: #000000;
JSON
{
"hex": "#336f4f",
"rgb": {
"r": 51,
"g": 111,
"b": 79
},
"hsl": {
"h": 148,
"s": 37.037,
"l": 31.765
},
"oklch": {
"l": 0.4921,
"c": 0.08175,
"h": 158
},
"luminance": 0.12637
}Semantic roles & 50–950 ramp
primary
#336F4F
secondary
#A05E81
accent
#5B98CD
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C