#336E18#336E18
#336E18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.132 H 137.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #336E18 |
|---|---|
| RGB | rgb(51, 110, 24) |
| HSL | hsl(101, 64%, 26%) |
| HSV | hsv(101, 78%, 43%) |
| CMYK | cmyk(53.6%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(41.09, -35.45, 39.47) |
| CIE-LCH | lch(41.09, 53.05, 131.93°) |
| OKLab | oklab(48.04% -0.0981 0.0886) |
| OKLCH | oklch(48.04% 0.132 137.9) |
| XYZ | xyz(7.1058, 11.9211, 2.7905) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.06
Tree Green
#2A7E19
ΔE00 5.66
Darkish Green
#287C37
ΔE00 6.69
Dark Grass Green
#388004
ΔE00 6.87
Green
#008000
ΔE00 7.14
Darkolivegreen
#556B2F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336E18 #53186E
analogous
#5E6E18 #336E18 #186E28
triadic
#336E18 #18336E #6E1833
tetradic
#336E18 #185E6E #53186E #6E2818
square
#336E18 #185E6E #53186E #6E2818
split-complementary
#336E18 #28186E #6E185E
monochromatic
#0C1905 #1C3C0D #336E18 #4AA023 #62D22F
Accessibility & contrast
On white
6.20
#336E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#336E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336E18
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336E18 | 1.00 | 6.20 | 3.38 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#2F6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336e18; /* rgb */ color: rgb(51, 110, 24); /* oklch */ color: oklch(48.0% 0.132 137.9);
Tailwind
colors: {
custom: {
50: '#71985c',
500: '#336e18',
950: '#000000',
},
}SCSS
$custom: #336e18; $custom-light: #71985c; $custom-dark: #000000;
JSON
{
"hex": "#336e18",
"rgb": {
"r": 51,
"g": 110,
"b": 24
},
"hsl": {
"h": 101.163,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.48038,
"c": 0.13218,
"h": 137.9
},
"luminance": 0.11922
}Semantic roles & 50–950 ramp
primary
#336E18
secondary
#843EA4
accent
#41E7B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79