#336C17#336C17
#336C17 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.130 H 137.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #336C17 |
|---|---|
| RGB | rgb(51, 108, 23) |
| HSL | hsl(100, 65%, 26%) |
| HSV | hsv(100, 79%, 42%) |
| CMYK | cmyk(52.8%, 0%, 78.7%, 57.6%) |
| CIE-LAB | lab(40.39, -34.68, 39.16) |
| CIE-LCH | lch(40.39, 52.31, 131.53°) |
| OKLab | oklab(47.46% -0.096 0.0878) |
| OKLCH | oklch(47.46% 0.13 137.6) |
| XYZ | xyz(6.8822, 11.4903, 2.6656) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.73
Tree Green
#2A7E19
ΔE00 6.34
Darkolivegreen
#556B2F
ΔE00 7.09
Camouflage Green
#4B6113
ΔE00 7.13
Darkish Green
#287C37
ΔE00 7.21
Camo Green
#526525
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C17 #50176C
analogous
#5D6C17 #336C17 #176C25
triadic
#336C17 #17336C #6C1733
tetradic
#336C17 #175D6C #50176C #6C2517
square
#336C17 #175D6C #50176C #6C2517
split-complementary
#336C17 #25176C #6C175D
monochromatic
#0C1905 #1B3A0C #336C17 #4B9E22 #63D12C
Accessibility & contrast
On white
6.37
#336C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#336C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C17
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C17 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336c17; /* rgb */ color: rgb(51, 108, 23); /* oklch */ color: oklch(47.5% 0.130 137.6);
Tailwind
colors: {
custom: {
50: '#71975b',
500: '#336c17',
950: '#000000',
},
}SCSS
$custom: #336c17; $custom-light: #71975b; $custom-dark: #000000;
JSON
{
"hex": "#336c17",
"rgb": {
"r": 51,
"g": 108,
"b": 23
},
"hsl": {
"h": 100.235,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.47463,
"c": 0.13015,
"h": 137.6
},
"luminance": 0.11491
}Semantic roles & 50–950 ramp
primary
#336C17
secondary
#813DA2
accent
#40E8B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79