#336F15#336F15
#336F15 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.135 H 137.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336F15 |
|---|---|
| RGB | rgb(51, 111, 21) |
| HSL | hsl(100, 68%, 26%) |
| HSV | hsv(100, 81%, 44%) |
| CMYK | cmyk(54.1%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(41.42, -36.07, 40.88) |
| CIE-LCH | lch(41.42, 54.52, 131.43°) |
| OKLab | oklab(48.3% -0.0999 0.0911) |
| OKLCH | oklch(48.3% 0.135 137.6) |
| XYZ | xyz(7.1848, 12.1263, 2.6713) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 5.30
Dark Grass Green
#388004
ΔE00 6.38
Green
#008000
ΔE00 6.73
Darkish Green
#287C37
ΔE00 6.77
Darkolivegreen
#556B2F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F15 #51156F
analogous
#606F15 #336F15 #156F24
triadic
#336F15 #15336F #6F1533
tetradic
#336F15 #15606F #51156F #6F2415
square
#336F15 #15606F #51156F #6F2415
split-complementary
#336F15 #24156F #6F1560
monochromatic
#0C1A05 #1B3C0B #336F15 #4BA21F #62D628
Accessibility & contrast
On white
6.13
#336F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F15
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F15 | 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)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f15; /* rgb */ color: rgb(51, 111, 21); /* oklch */ color: oklch(48.3% 0.135 137.6);
Tailwind
colors: {
custom: {
50: '#72995a',
500: '#336f15',
950: '#000000',
},
}SCSS
$custom: #336f15; $custom-light: #72995a; $custom-dark: #000000;
JSON
{
"hex": "#336f15",
"rgb": {
"r": 51,
"g": 111,
"b": 21
},
"hsl": {
"h": 100,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.483,
"c": 0.13524,
"h": 137.6
},
"luminance": 0.12127
}Semantic roles & 50–950 ramp
primary
#336F15
secondary
#823AA5
accent
#3DEBB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79