#336B1B#336B1B
#336B1B is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.126 H 138.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #336B1B |
|---|---|
| RGB | rgb(51, 107, 27) |
| HSL | hsl(102, 60%, 26%) |
| HSV | hsv(102, 75%, 42%) |
| CMYK | cmyk(52.3%, 0%, 74.8%, 58%) |
| CIE-LAB | lab(40.08, -33.94, 37.25) |
| CIE-LCH | lch(40.08, 50.39, 132.34°) |
| OKLab | oklab(47.21% -0.0938 0.0845) |
| OKLCH | oklch(47.21% 0.126 138) |
| XYZ | xyz(6.8205, 11.2978, 2.8580) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.68
Tree Green
#2A7E19
ΔE00 6.76
Darkolivegreen
#556B2F
ΔE00 6.92
Darkish Green
#287C37
ΔE00 7.11
Camouflage Green
#4B6113
ΔE00 7.12
Deep Green
#02590F
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336B1B #531B6B
analogous
#5B6B1B #336B1B #1B6B2B
triadic
#336B1B #1B336B #6B1B33
tetradic
#336B1B #1B5B6B #531B6B #6B2B1B
square
#336B1B #1B5B6B #531B6B #6B2B1B
split-complementary
#336B1B #2B1B6B #6B1B5B
monochromatic
#0C1806 #1C3A0F #336B1B #4A9C27 #62CC35
Accessibility & contrast
On white
6.44
#336B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#336B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336B1B
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336B1B | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F610E
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#2F675B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336b1b; /* rgb */ color: rgb(51, 107, 27); /* oklch */ color: oklch(47.2% 0.126 138.0);
Tailwind
colors: {
custom: {
50: '#71965d',
500: '#336b1b',
950: '#000000',
},
}SCSS
$custom: #336b1b; $custom-light: #71965d; $custom-dark: #000000;
JSON
{
"hex": "#336b1b",
"rgb": {
"r": 51,
"g": 107,
"b": 27
},
"hsl": {
"h": 102,
"s": 59.701,
"l": 26.275
},
"oklch": {
"l": 0.47212,
"c": 0.1262,
"h": 138
},
"luminance": 0.11298
}Semantic roles & 50–950 ramp
primary
#336B1B
secondary
#8442A0
accent
#45E3B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79