#336C18#336C18
#336C18 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.130 H 137.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #336C18 |
|---|---|
| RGB | rgb(51, 108, 24) |
| HSL | hsl(101, 64%, 26%) |
| HSV | hsv(101, 78%, 42%) |
| CMYK | cmyk(52.8%, 0%, 77.8%, 57.6%) |
| CIE-LAB | lab(40.40, -34.60, 38.78) |
| CIE-LCH | lch(40.40, 51.98, 131.74°) |
| OKLab | oklab(47.47% -0.0958 0.0872) |
| OKLCH | oklch(47.47% 0.13 137.7) |
| XYZ | xyz(6.8924, 11.4944, 2.7194) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.74
Tree Green
#2A7E19
ΔE00 6.35
Darkolivegreen
#556B2F
ΔE00 7.06
Darkish Green
#287C37
ΔE00 7.12
Camouflage Green
#4B6113
ΔE00 7.17
Camo Green
#526525
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C18 #51186C
analogous
#5D6C18 #336C18 #186C27
triadic
#336C18 #18336C #6C1833
tetradic
#336C18 #185D6C #51186C #6C2718
square
#336C18 #185D6C #51186C #6C2718
split-complementary
#336C18 #27186C #6C185D
monochromatic
#0C1906 #1B3A0D #336C18 #4B9E23 #62D02E
Accessibility & contrast
On white
6.37
#336C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#336C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C18
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C18 | 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)
#706207
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336c18; /* rgb */ color: rgb(51, 108, 24); /* oklch */ color: oklch(47.5% 0.130 137.7);
Tailwind
colors: {
custom: {
50: '#71975b',
500: '#336c18',
950: '#000000',
},
}SCSS
$custom: #336c18; $custom-light: #71975b; $custom-dark: #000000;
JSON
{
"hex": "#336c18",
"rgb": {
"r": 51,
"g": 108,
"b": 24
},
"hsl": {
"h": 100.714,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.47471,
"c": 0.12954,
"h": 137.7
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#336C18
secondary
#823EA2
accent
#41E7B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79