#336F18#336F18
#336F18 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.133 H 138.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336F18 |
|---|---|
| RGB | rgb(51, 111, 24) |
| HSL | hsl(101, 64%, 26%) |
| HSV | hsv(101, 78%, 44%) |
| CMYK | cmyk(54.1%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(41.43, -35.86, 39.81) |
| CIE-LCH | lch(41.43, 53.58, 132.02°) |
| OKLab | oklab(48.32% -0.0992 0.0893) |
| OKLCH | oklch(48.32% 0.133 138) |
| XYZ | xyz(7.2143, 12.1381, 2.8267) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.24
Tree Green
#2A7E19
ΔE00 5.32
Darkish Green
#287C37
ΔE00 6.49
Dark Grass Green
#388004
ΔE00 6.53
Green
#008000
ΔE00 6.82
Darkolivegreen
#556B2F
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F18 #54186F
analogous
#5F6F18 #336F18 #186F29
triadic
#336F18 #18336F #6F1833
tetradic
#336F18 #185F6F #54186F #6F2918
square
#336F18 #185F6F #54186F #6F2918
split-complementary
#336F18 #29186F #6F185F
monochromatic
#0C1905 #1C3D0D #336F18 #4AA123 #62D22F
Accessibility & contrast
On white
6.13
#336F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F18
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F18 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#2E6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f18; /* rgb */ color: rgb(51, 111, 24); /* oklch */ color: oklch(48.3% 0.133 138.0);
Tailwind
colors: {
custom: {
50: '#72995c',
500: '#336f18',
950: '#000000',
},
}SCSS
$custom: #336f18; $custom-light: #72995c; $custom-dark: #000000;
JSON
{
"hex": "#336f18",
"rgb": {
"r": 51,
"g": 111,
"b": 24
},
"hsl": {
"h": 101.379,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.48322,
"c": 0.13349,
"h": 138
},
"luminance": 0.12139
}Semantic roles & 50–950 ramp
primary
#336F18
secondary
#853EA5
accent
#40E7B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79