#336E1F#336E1F
#336E1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.127 H 138.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #336E1F |
|---|---|
| RGB | rgb(51, 110, 31) |
| HSL | hsl(105, 56%, 28%) |
| HSV | hsv(105, 72%, 43%) |
| CMYK | cmyk(53.6%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(41.14, -34.86, 36.64) |
| CIE-LCH | lch(41.14, 50.58, 133.57°) |
| OKLab | oklab(48.1% -0.096 0.0838) |
| OKLCH | oklch(48.1% 0.127 138.9) |
| XYZ | xyz(7.1882, 11.9541, 3.2246) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.21
Tree Green
#2A7E19
ΔE00 5.86
Darkish Green
#287C37
ΔE00 6.05
Darkolivegreen
#556B2F
ΔE00 7.10
Dark Grass Green
#388004
ΔE00 7.37
Green
#008000
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336E1F #5A1F6E
analogous
#5A6E1F #336E1F #1F6E32
triadic
#336E1F #1F336E #6E1F33
tetradic
#336E1F #1F5A6E #5A1F6E #6E321F
square
#336E1F #1F5A6E #5A1F6E #6E321F
split-complementary
#336E1F #321F6E #6E1F5A
monochromatic
#0B1807 #1D3E12 #336E1F #499E2C #62C93F
Accessibility & contrast
On white
6.19
#336E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#336E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336E1F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336E1F | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336e1f; /* rgb */ color: rgb(51, 110, 31); /* oklch */ color: oklch(48.1% 0.127 138.9);
Tailwind
colors: {
custom: {
50: '#71985f',
500: '#336e1f',
950: '#000000',
},
}SCSS
$custom: #336e1f; $custom-light: #71985f; $custom-dark: #000000;
JSON
{
"hex": "#336e1f",
"rgb": {
"r": 51,
"g": 110,
"b": 31
},
"hsl": {
"h": 104.81,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.48098,
"c": 0.12739,
"h": 138.9
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#336E1F
secondary
#8B47A2
accent
#48DFB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79