#336A2A#336A2A
#336A2A is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.112 H 140.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #336A2A |
|---|---|
| RGB | rgb(51, 106, 42) |
| HSL | hsl(112, 43%, 29%) |
| HSV | hsv(112, 60%, 42%) |
| CMYK | cmyk(51.9%, 0%, 60.4%, 58.4%) |
| CIE-LAB | lab(39.88, -31.91, 29.96) |
| CIE-LCH | lch(39.88, 43.77, 136.81°) |
| OKLab | oklab(47.1% -0.0872 0.0708) |
| OKLCH | oklch(47.1% 0.112 140.9) |
| XYZ | xyz(6.9369, 11.1785, 3.9822) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.60
Darkgreen
#006400
ΔE00 5.87
Darkish Green
#287C37
ΔE00 6.47
Pine
#2B5D34
ΔE00 6.53
Deep Green
#02590F
ΔE00 6.87
Darkolivegreen
#556B2F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A2A #612A6A
analogous
#536A2A #336A2A #2A6A41
triadic
#336A2A #2A336A #6A2A33
tetradic
#336A2A #2A536A #612A6A #6A412A
square
#336A2A #2A536A #612A6A #6A412A
split-complementary
#336A2A #412A6A #6A2A53
monochromatic
#0B1609 #1E3E19 #336A2A #48963B #62BB53
Accessibility & contrast
On white
6.49
#336A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#336A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A2A
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A2A | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6124
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#2D675C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336a2a; /* rgb */ color: rgb(51, 106, 42); /* oklch */ color: oklch(47.1% 0.112 140.9);
Tailwind
colors: {
custom: {
50: '#709566',
500: '#336a2a',
950: '#000000',
},
}SCSS
$custom: #336a2a; $custom-light: #709566; $custom-dark: #000000;
JSON
{
"hex": "#336a2a",
"rgb": {
"r": 51,
"g": 106,
"b": 42
},
"hsl": {
"h": 111.563,
"s": 43.243,
"l": 29.02
},
"oklch": {
"l": 0.47096,
"c": 0.11234,
"h": 140.9
},
"luminance": 0.11179
}Semantic roles & 50–950 ramp
primary
#336A2A
secondary
#92549C
accent
#55D3C1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A