#336F1E#336F1E
#336F1E is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.129 H 138.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #336F1E |
|---|---|
| RGB | rgb(51, 111, 30) |
| HSL | hsl(104, 57%, 28%) |
| HSV | hsv(104, 73%, 44%) |
| CMYK | cmyk(54.1%, 0%, 73%, 56.5%) |
| CIE-LAB | lab(41.48, -35.38, 37.43) |
| CIE-LCH | lch(41.48, 51.50, 133.38°) |
| OKLab | oklab(48.37% -0.0974 0.0853) |
| OKLCH | oklch(48.37% 0.129 138.8) |
| XYZ | xyz(7.2837, 12.1659, 3.1925) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.34
Tree Green
#2A7E19
ΔE00 5.47
Darkish Green
#287C37
ΔE00 5.92
Dark Grass Green
#388004
ΔE00 6.96
Green
#008000
ΔE00 7.08
Darkolivegreen
#556B2F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F1E #5A1E6F
analogous
#5C6F1E #336F1E #1E6F31
triadic
#336F1E #1E336F #6F1E33
tetradic
#336F1E #1E5C6F #5A1E6F #6F311E
square
#336F1E #1E5C6F #5A1E6F #6F311E
split-complementary
#336F1E #311E6F #6F1E5C
monochromatic
#0B1807 #1D3F11 #336F1E #499F2B #62CB3D
Accessibility & contrast
On white
6.12
#336F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F1E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F1E | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f1e; /* rgb */ color: rgb(51, 111, 30); /* oklch */ color: oklch(48.4% 0.129 138.8);
Tailwind
colors: {
custom: {
50: '#71995f',
500: '#336f1e',
950: '#000000',
},
}SCSS
$custom: #336f1e; $custom-light: #71995f; $custom-dark: #000000;
JSON
{
"hex": "#336f1e",
"rgb": {
"r": 51,
"g": 111,
"b": 30
},
"hsl": {
"h": 104.444,
"s": 57.447,
"l": 27.647
},
"oklch": {
"l": 0.48372,
"c": 0.12948,
"h": 138.8
},
"luminance": 0.12166
}Semantic roles & 50–950 ramp
primary
#336F1E
secondary
#8B46A3
accent
#47E1B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79