#336C4E#336C4E
#336C4E is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.4% C 0.078 H 158.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #336C4E |
|---|---|
| RGB | rgb(51, 108, 78) |
| HSL | hsl(148, 36%, 31%) |
| HSV | hsv(148, 53%, 42%) |
| CMYK | cmyk(52.8%, 0%, 27.8%, 57.6%) |
| CIE-LAB | lab(41.18, -26.42, 11.17) |
| CIE-LCH | lch(41.18, 28.69, 157.07°) |
| OKLab | oklab(48.36% -0.0725 0.0285) |
| OKLCH | oklch(48.36% 0.078 158.6) |
| XYZ | xyz(8.1023, 11.9783, 9.0913) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.70
Spruce
#0A5F38
ΔE00 6.32
Pine
#2B5D34
ΔE00 6.60
Dark Green Blue
#1F6357
ΔE00 7.54
Forest Green
#2D5A27
ΔE00 9.42
Dark Sea Green
#11875D
ΔE00 10.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C4E #6C3351
analogous
#346C33 #336C4E #336C6A
triadic
#336C4E #4E336C #6C4E33
tetradic
#336C4E #33346C #6C3351 #6C6A33
square
#336C4E #33346C #6C3351 #6C6A33
split-complementary
#336C4E #6A336C #6C3334
monochromatic
#0C1912 #1F4230 #336C4E #47966C #64B68B
Accessibility & contrast
On white
6.18
#336C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#336C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C4E
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C4E | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B654C
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#236B64
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336c4e; /* rgb */ color: rgb(51, 108, 78); /* oklch */ color: oklch(48.4% 0.078 158.6);
Tailwind
colors: {
custom: {
50: '#6f967f',
500: '#336c4e',
950: '#000000',
},
}SCSS
$custom: #336c4e; $custom-light: #6f967f; $custom-dark: #000000;
JSON
{
"hex": "#336c4e",
"rgb": {
"r": 51,
"g": 108,
"b": 78
},
"hsl": {
"h": 148.421,
"s": 35.849,
"l": 31.176
},
"oklch": {
"l": 0.48364,
"c": 0.07794,
"h": 158.6
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#336C4E
secondary
#9D5E7F
accent
#5C97CC
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080D0A
muted
#7B7E7C