#336D2E#336D2E
#336D2E is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.0% C 0.113 H 142.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #336D2E |
|---|---|
| RGB | rgb(51, 109, 46) |
| HSL | hsl(115, 41%, 30%) |
| HSV | hsv(115, 58%, 43%) |
| CMYK | cmyk(53.2%, 0%, 57.8%, 57.3%) |
| CIE-LAB | lab(40.96, -32.71, 29.14) |
| CIE-LCH | lch(40.96, 43.81, 138.30°) |
| OKLab | oklab(48% -0.0892 0.0694) |
| OKLCH | oklch(48% 0.113 142.1) |
| XYZ | xyz(7.3267, 11.8378, 4.4831) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.41
Forest Green
#2D5A27
ΔE00 6.46
Darkgreen
#006400
ΔE00 6.49
Pine
#2B5D34
ΔE00 6.94
Darkolivegreen
#556B2F
ΔE00 7.25
Tree Green
#2A7E19
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336D2E #682E6D
analogous
#526D2E #336D2E #2E6D48
triadic
#336D2E #2E336D #6D2E33
tetradic
#336D2E #2E526D #682E6D #6D482E
square
#336D2E #2E526D #682E6D #6D482E
split-complementary
#336D2E #482E6D #6D2E52
monochromatic
#0B170A #1F421C #336D2E #479840 #63BA5B
Accessibility & contrast
On white
6.24
#336D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#336D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336D2E
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336D2E | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6428
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336d2e; /* rgb */ color: rgb(51, 109, 46); /* oklch */ color: oklch(48.0% 0.113 142.1);
Tailwind
colors: {
custom: {
50: '#709769',
500: '#336d2e',
950: '#000000',
},
}SCSS
$custom: #336d2e; $custom-light: #709769; $custom-dark: #000000;
JSON
{
"hex": "#336d2e",
"rgb": {
"r": 51,
"g": 109,
"b": 46
},
"hsl": {
"h": 115.238,
"s": 40.645,
"l": 30.392
},
"oklch": {
"l": 0.47996,
"c": 0.11298,
"h": 142.1
},
"luminance": 0.11838
}Semantic roles & 50–950 ramp
primary
#336D2E
secondary
#99589F
accent
#57D0C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A