#336A1B#336A1B
#336A1B is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.125 H 137.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #336A1B |
|---|---|
| RGB | rgb(51, 106, 27) |
| HSL | hsl(102, 59%, 26%) |
| HSV | hsv(102, 75%, 42%) |
| CMYK | cmyk(51.9%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(39.73, -33.51, 36.89) |
| CIE-LCH | lch(39.73, 49.84, 132.25°) |
| OKLab | oklab(46.93% -0.0926 0.0837) |
| OKLCH | oklch(46.93% 0.125 137.9) |
| XYZ | xyz(6.7169, 11.0905, 2.8234) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.59
Darkolivegreen
#556B2F
ΔE00 6.86
Deep Green
#02590F
ΔE00 6.91
Camouflage Green
#4B6113
ΔE00 6.94
Forest Green
#2D5A27
ΔE00 6.97
Tree Green
#2A7E19
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A1B #521B6A
analogous
#5A6A1B #336A1B #1B6A2A
triadic
#336A1B #1B336A #6A1B33
tetradic
#336A1B #1B5A6A #521B6A #6A2A1B
square
#336A1B #1B5A6A #521B6A #6A2A1B
split-complementary
#336A1B #2A1B6A #6A1B5A
monochromatic
#0C1806 #1C390F #336A1B #4A9B27 #62CB34
Accessibility & contrast
On white
6.53
#336A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#336A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A1B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A1B | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E600E
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#2F665A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336a1b; /* rgb */ color: rgb(51, 106, 27); /* oklch */ color: oklch(46.9% 0.125 137.9);
Tailwind
colors: {
custom: {
50: '#71955d',
500: '#336a1b',
950: '#000000',
},
}SCSS
$custom: #336a1b; $custom-light: #71955d; $custom-dark: #000000;
JSON
{
"hex": "#336a1b",
"rgb": {
"r": 51,
"g": 106,
"b": 27
},
"hsl": {
"h": 101.772,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.46928,
"c": 0.12484,
"h": 137.9
},
"luminance": 0.11091
}Semantic roles & 50–950 ramp
primary
#336A1B
secondary
#83429F
accent
#45E3B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79