#336C1A#336C1A
#336C1A is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.128 H 138.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #336C1A |
|---|---|
| RGB | rgb(51, 108, 26) |
| HSL | hsl(102, 61%, 26%) |
| HSV | hsv(102, 76%, 42%) |
| CMYK | cmyk(52.8%, 0%, 75.9%, 57.6%) |
| CIE-LAB | lab(40.42, -34.45, 38.00) |
| CIE-LCH | lch(40.42, 51.29, 132.19°) |
| OKLab | oklab(47.49% -0.0952 0.0859) |
| OKLCH | oklch(47.49% 0.128 138) |
| XYZ | xyz(6.9140, 11.5030, 2.8331) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.77
Tree Green
#2A7E19
ΔE00 6.39
Darkish Green
#287C37
ΔE00 6.96
Darkolivegreen
#556B2F
ΔE00 7.01
Camouflage Green
#4B6113
ΔE00 7.25
Camo Green
#526525
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C1A #531A6C
analogous
#5C6C1A #336C1A #1A6C2A
triadic
#336C1A #1A336C #6C1A33
tetradic
#336C1A #1A5C6C #531A6C #6C2A1A
square
#336C1A #1A5C6C #531A6C #6C2A1A
split-complementary
#336C1A #2A1A6C #6C1A5C
monochromatic
#0C1906 #1C3B0E #336C1A #4A9D26 #62CE33
Accessibility & contrast
On white
6.36
#336C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#336C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C1A
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C1A | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70620C
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336c1a; /* rgb */ color: rgb(51, 108, 26); /* oklch */ color: oklch(47.5% 0.128 138.0);
Tailwind
colors: {
custom: {
50: '#71975c',
500: '#336c1a',
950: '#000000',
},
}SCSS
$custom: #336c1a; $custom-light: #71975c; $custom-dark: #000000;
JSON
{
"hex": "#336c1a",
"rgb": {
"r": 51,
"g": 108,
"b": 26
},
"hsl": {
"h": 101.707,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.47487,
"c": 0.12823,
"h": 138
},
"luminance": 0.11504
}Semantic roles & 50–950 ramp
primary
#336C1A
secondary
#8441A1
accent
#43E4B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79