#336A2B#336A2B
#336A2B is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.111 H 141.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #336A2B |
|---|---|
| RGB | rgb(51, 106, 43) |
| HSL | hsl(112, 42%, 29%) |
| HSV | hsv(112, 59%, 42%) |
| CMYK | cmyk(51.9%, 0%, 59.4%, 58.4%) |
| CIE-LAB | lab(39.89, -31.78, 29.45) |
| CIE-LCH | lch(39.89, 43.33, 137.18°) |
| OKLab | oklab(47.11% -0.0868 0.0698) |
| OKLCH | oklch(47.11% 0.111 141.2) |
| XYZ | xyz(6.9550, 11.1858, 4.0776) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.54
Darkgreen
#006400
ΔE00 6.01
Pine
#2B5D34
ΔE00 6.38
Darkish Green
#287C37
ΔE00 6.44
Deep Green
#02590F
ΔE00 6.92
Darkolivegreen
#556B2F
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A2B #622B6A
analogous
#536A2B #336A2B #2B6A43
triadic
#336A2B #2B336A #6A2B33
tetradic
#336A2B #2B536A #622B6A #6A432B
square
#336A2B #2B536A #622B6A #6A432B
split-complementary
#336A2B #432B6A #6A2B53
monochromatic
#0A1609 #1E3E19 #336A2B #48963D #62BA55
Accessibility & contrast
On white
6.49
#336A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#336A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A2B
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A2B | 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)
#6D6125
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#2D675C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336a2b; /* rgb */ color: rgb(51, 106, 43); /* oklch */ color: oklch(47.1% 0.111 141.2);
Tailwind
colors: {
custom: {
50: '#709566',
500: '#336a2b',
950: '#000000',
},
}SCSS
$custom: #336a2b; $custom-light: #709566; $custom-dark: #000000;
JSON
{
"hex": "#336a2b",
"rgb": {
"r": 51,
"g": 106,
"b": 43
},
"hsl": {
"h": 112.381,
"s": 42.282,
"l": 29.216
},
"oklch": {
"l": 0.4711,
"c": 0.11139,
"h": 141.2
},
"luminance": 0.11186
}Semantic roles & 50–950 ramp
primary
#336A2B
secondary
#93559C
accent
#56D2C2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A