#336F16#336F16
#336F16 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.135 H 137.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336F16 |
|---|---|
| RGB | rgb(51, 111, 22) |
| HSL | hsl(100, 67%, 26%) |
| HSV | hsv(100, 80%, 44%) |
| CMYK | cmyk(54.1%, 0%, 80.2%, 56.5%) |
| CIE-LAB | lab(41.42, -36.00, 40.53) |
| CIE-LCH | lch(41.42, 54.21, 131.62°) |
| OKLab | oklab(48.31% -0.0997 0.0905) |
| OKLCH | oklch(48.31% 0.135 137.8) |
| XYZ | xyz(7.1943, 12.1301, 2.7211) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.24
Tree Green
#2A7E19
ΔE00 5.30
Dark Grass Green
#388004
ΔE00 6.42
Darkish Green
#287C37
ΔE00 6.68
Green
#008000
ΔE00 6.76
Darkolivegreen
#556B2F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F16 #52166F
analogous
#5F6F16 #336F16 #166F25
triadic
#336F16 #16336F #6F1633
tetradic
#336F16 #165F6F #52166F #6F2516
square
#336F16 #165F6F #52166F #6F2516
split-complementary
#336F16 #25166F #6F165F
monochromatic
#0C1A05 #1C3C0C #336F16 #4AA220 #62D52B
Accessibility & contrast
On white
6.13
#336F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F16
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F16 | 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)
#736502
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f16; /* rgb */ color: rgb(51, 111, 22); /* oklch */ color: oklch(48.3% 0.135 137.8);
Tailwind
colors: {
custom: {
50: '#72995b',
500: '#336f16',
950: '#000000',
},
}SCSS
$custom: #336f16; $custom-light: #72995b; $custom-dark: #000000;
JSON
{
"hex": "#336f16",
"rgb": {
"r": 51,
"g": 111,
"b": 22
},
"hsl": {
"h": 100.449,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.48307,
"c": 0.13468,
"h": 137.8
},
"luminance": 0.12131
}Semantic roles & 50–950 ramp
primary
#336F16
secondary
#833CA5
accent
#3EEAB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79