#336F1F#336F1F
#336F1F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.129 H 139.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #336F1F |
|---|---|
| RGB | rgb(51, 111, 31) |
| HSL | hsl(105, 56%, 28%) |
| HSV | hsv(105, 72%, 44%) |
| CMYK | cmyk(54.1%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.49, -35.28, 37.01) |
| CIE-LCH | lch(41.49, 51.13, 133.64°) |
| OKLab | oklab(48.38% -0.0971 0.0845) |
| OKLCH | oklch(48.38% 0.129 139) |
| XYZ | xyz(7.2967, 12.1711, 3.2608) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.38
Tree Green
#2A7E19
ΔE00 5.51
Darkish Green
#287C37
ΔE00 5.83
Dark Grass Green
#388004
ΔE00 7.04
Green
#008000
ΔE00 7.14
Darkolivegreen
#556B2F
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F1F #5B1F6F
analogous
#5B6F1F #336F1F #1F6F33
triadic
#336F1F #1F336F #6F1F33
tetradic
#336F1F #1F5B6F #5B1F6F #6F331F
square
#336F1F #1F5B6F #5B1F6F #6F331F
split-complementary
#336F1F #331F6F #6F1F5B
monochromatic
#0B1807 #1D3F12 #336F1F #499F2C #62C93F
Accessibility & contrast
On white
6.11
#336F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F1F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F1F | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f1f; /* rgb */ color: rgb(51, 111, 31); /* oklch */ color: oklch(48.4% 0.129 139.0);
Tailwind
colors: {
custom: {
50: '#71995f',
500: '#336f1f',
950: '#000000',
},
}SCSS
$custom: #336f1f; $custom-light: #71995f; $custom-dark: #000000;
JSON
{
"hex": "#336f1f",
"rgb": {
"r": 51,
"g": 111,
"b": 31
},
"hsl": {
"h": 105,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.48381,
"c": 0.12875,
"h": 139
},
"luminance": 0.12172
}Semantic roles & 50–950 ramp
primary
#336F1F
secondary
#8C47A3
accent
#48E0BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79