#336B4E#336B4E
#336B4E is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.1% C 0.076 H 159.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #336B4E |
|---|---|
| RGB | rgb(51, 107, 78) |
| HSL | hsl(149, 35%, 31%) |
| HSV | hsv(149, 52%, 42%) |
| CMYK | cmyk(52.3%, 0%, 27.1%, 58%) |
| CIE-LAB | lab(40.85, -25.93, 10.71) |
| CIE-LCH | lch(40.85, 28.05, 157.56°) |
| OKLab | oklab(48.09% -0.0713 0.0273) |
| OKLCH | oklch(48.09% 0.076 159) |
| XYZ | xyz(7.9974, 11.7686, 9.0564) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.53
Spruce
#0A5F38
ΔE00 6.26
Pine
#2B5D34
ΔE00 6.52
Dark Green Blue
#1F6357
ΔE00 7.18
Forest Green
#2D5A27
ΔE00 9.40
Dark Sea Green
#11875D
ΔE00 10.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336B4E #6B3350
analogous
#346B33 #336B4E #336B6A
triadic
#336B4E #4E336B #6B4E33
tetradic
#336B4E #33346B #6B3350 #6B6A33
square
#336B4E #33346B #6B3350 #6B6A33
split-complementary
#336B4E #6A336B #6B3334
monochromatic
#0B1812 #1F4230 #336B4E #47946C #64B58B
Accessibility & contrast
On white
6.26
#336B4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#336B4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336B4E
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336B4E | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#625E50
Tritanopia (blue-blind)
#236A63
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #336b4e; /* rgb */ color: rgb(51, 107, 78); /* oklch */ color: oklch(48.1% 0.076 159.0);
Tailwind
colors: {
custom: {
50: '#6f967f',
500: '#336b4e',
950: '#000000',
},
}SCSS
$custom: #336b4e; $custom-light: #6f967f; $custom-dark: #000000;
JSON
{
"hex": "#336b4e",
"rgb": {
"r": 51,
"g": 107,
"b": 78
},
"hsl": {
"h": 148.929,
"s": 35.443,
"l": 30.98
},
"oklch": {
"l": 0.48091,
"c": 0.07634,
"h": 159
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#336B4E
secondary
#9C5E7E
accent
#5C96CB
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070D0A
muted
#7A7E7C