#336A1A#336A1A
#336A1A is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.126 H 137.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #336A1A |
|---|---|
| RGB | rgb(51, 106, 26) |
| HSL | hsl(101, 61%, 26%) |
| HSV | hsv(101, 75%, 42%) |
| CMYK | cmyk(51.9%, 0%, 75.5%, 58.4%) |
| CIE-LAB | lab(39.72, -33.59, 37.30) |
| CIE-LCH | lch(39.72, 50.20, 132.00°) |
| OKLab | oklab(46.92% -0.0929 0.0844) |
| OKLCH | oklch(46.92% 0.126 137.7) |
| XYZ | xyz(6.7055, 11.0860, 2.7635) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.56
Darkolivegreen
#556B2F
ΔE00 6.88
Camouflage Green
#4B6113
ΔE00 6.89
Deep Green
#02590F
ΔE00 6.95
Forest Green
#2D5A27
ΔE00 7.07
Tree Green
#2A7E19
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A1A #511A6A
analogous
#5B6A1A #336A1A #1A6A29
triadic
#336A1A #1A336A #6A1A33
tetradic
#336A1A #1A5B6A #511A6A #6A291A
square
#336A1A #1A5B6A #511A6A #6A291A
split-complementary
#336A1A #291A6A #6A1A5B
monochromatic
#0C1906 #1B390E #336A1A #4B9B26 #62CC32
Accessibility & contrast
On white
6.53
#336A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#336A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A1A
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A1A | 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)
#6E600C
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#2F665A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336a1a; /* rgb */ color: rgb(51, 106, 26); /* oklch */ color: oklch(46.9% 0.126 137.7);
Tailwind
colors: {
custom: {
50: '#71955c',
500: '#336a1a',
950: '#000000',
},
}SCSS
$custom: #336a1a; $custom-light: #71955c; $custom-dark: #000000;
JSON
{
"hex": "#336a1a",
"rgb": {
"r": 51,
"g": 106,
"b": 26
},
"hsl": {
"h": 101.25,
"s": 60.606,
"l": 25.882
},
"oklch": {
"l": 0.46919,
"c": 0.12553,
"h": 137.7
},
"luminance": 0.11086
}Semantic roles & 50–950 ramp
primary
#336A1A
secondary
#82409F
accent
#44E4B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79