#336F17#336F17
#336F17 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.134 H 137.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336F17 |
|---|---|
| RGB | rgb(51, 111, 23) |
| HSL | hsl(101, 66%, 26%) |
| HSV | hsv(101, 79%, 44%) |
| CMYK | cmyk(54.1%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(41.43, -35.94, 40.17) |
| CIE-LCH | lch(41.43, 53.90, 131.81°) |
| OKLab | oklab(48.31% -0.0994 0.09) |
| OKLCH | oklch(48.31% 0.134 137.9) |
| XYZ | xyz(7.2041, 12.1340, 2.7729) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.24
Tree Green
#2A7E19
ΔE00 5.31
Dark Grass Green
#388004
ΔE00 6.48
Darkish Green
#287C37
ΔE00 6.59
Green
#008000
ΔE00 6.78
Darkolivegreen
#556B2F
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F17 #53176F
analogous
#5F6F17 #336F17 #176F27
triadic
#336F17 #17336F #6F1733
tetradic
#336F17 #175F6F #53176F #6F2717
square
#336F17 #175F6F #53176F #6F2717
split-complementary
#336F17 #27176F #6F175F
monochromatic
#0C1905 #1C3C0C #336F17 #4AA222 #62D32D
Accessibility & contrast
On white
6.13
#336F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F17
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F17 | 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)
#736504
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#2E6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f17; /* rgb */ color: rgb(51, 111, 23); /* oklch */ color: oklch(48.3% 0.134 137.9);
Tailwind
colors: {
custom: {
50: '#72995b',
500: '#336f17',
950: '#000000',
},
}SCSS
$custom: #336f17; $custom-light: #72995b; $custom-dark: #000000;
JSON
{
"hex": "#336f17",
"rgb": {
"r": 51,
"g": 111,
"b": 23
},
"hsl": {
"h": 100.909,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.48314,
"c": 0.13409,
"h": 137.9
},
"luminance": 0.12135
}Semantic roles & 50–950 ramp
primary
#336F17
secondary
#843DA5
accent
#3FE9B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79