#336A1C#336A1C
#336A1C is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.124 H 138.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #336A1C |
|---|---|
| RGB | rgb(51, 106, 28) |
| HSL | hsl(102, 58%, 26%) |
| HSV | hsv(102, 74%, 42%) |
| CMYK | cmyk(51.9%, 0%, 73.6%, 58.4%) |
| CIE-LAB | lab(39.74, -33.42, 36.48) |
| CIE-LCH | lch(39.74, 49.47, 132.50°) |
| OKLab | oklab(46.94% -0.0923 0.083) |
| OKLCH | oklch(46.94% 0.124 138) |
| XYZ | xyz(6.7286, 11.0952, 2.8854) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.63
Darkolivegreen
#556B2F
ΔE00 6.84
Forest Green
#2D5A27
ΔE00 6.87
Deep Green
#02590F
ΔE00 6.88
Camouflage Green
#4B6113
ΔE00 7.00
Tree Green
#2A7E19
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A1C #531C6A
analogous
#5A6A1C #336A1C #1C6A2C
triadic
#336A1C #1C336A #6A1C33
tetradic
#336A1C #1C5A6A #531C6A #6A2C1C
square
#336A1C #1C5A6A #531C6A #6A2C1C
split-complementary
#336A1C #2C1C6A #6A1C5A
monochromatic
#0C1806 #1C3A0F #336A1C #4A9A29 #62CA36
Accessibility & contrast
On white
6.52
#336A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#336A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A1C
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A1C | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6110
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#2F665A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336a1c; /* rgb */ color: rgb(51, 106, 28); /* oklch */ color: oklch(46.9% 0.124 138.0);
Tailwind
colors: {
custom: {
50: '#71955d',
500: '#336a1c',
950: '#000000',
},
}SCSS
$custom: #336a1c; $custom-light: #71955d; $custom-dark: #000000;
JSON
{
"hex": "#336a1c",
"rgb": {
"r": 51,
"g": 106,
"b": 28
},
"hsl": {
"h": 102.308,
"s": 58.209,
"l": 26.275
},
"oklch": {
"l": 0.46937,
"c": 0.12412,
"h": 138
},
"luminance": 0.11096
}Semantic roles & 50–950 ramp
primary
#336A1C
secondary
#84439F
accent
#46E1B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79