#336D2F#336D2F
#336D2F is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.0% C 0.112 H 142.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #336D2F |
|---|---|
| RGB | rgb(51, 109, 47) |
| HSL | hsl(116, 40%, 31%) |
| HSV | hsv(116, 57%, 43%) |
| CMYK | cmyk(53.2%, 0%, 56.9%, 57.3%) |
| CIE-LAB | lab(40.97, -32.57, 28.63) |
| CIE-LCH | lch(40.97, 43.37, 138.69°) |
| OKLab | oklab(48.01% -0.0888 0.0683) |
| OKLCH | oklch(48.01% 0.112 142.4) |
| XYZ | xyz(7.3466, 11.8458, 4.5881) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.40
Forest Green
#2D5A27
ΔE00 6.42
Darkgreen
#006400
ΔE00 6.63
Pine
#2B5D34
ΔE00 6.81
Darkolivegreen
#556B2F
ΔE00 7.31
Tree Green
#2A7E19
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336D2F #692F6D
analogous
#526D2F #336D2F #2F6D4A
triadic
#336D2F #2F336D #6D2F33
tetradic
#336D2F #2F526D #692F6D #6D4A2F
square
#336D2F #2F526D #692F6D #6D4A2F
split-complementary
#336D2F #4A2F6D #6D2F52
monochromatic
#0B170A #1F421D #336D2F #479841 #63B95D
Accessibility & contrast
On white
6.23
#336D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#336D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336D2F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336D2F | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336d2f; /* rgb */ color: rgb(51, 109, 47); /* oklch */ color: oklch(48.0% 0.112 142.4);
Tailwind
colors: {
custom: {
50: '#709769',
500: '#336d2f',
950: '#000000',
},
}SCSS
$custom: #336d2f; $custom-light: #709769; $custom-dark: #000000;
JSON
{
"hex": "#336d2f",
"rgb": {
"r": 51,
"g": 109,
"b": 47
},
"hsl": {
"h": 116.129,
"s": 39.744,
"l": 30.588
},
"oklch": {
"l": 0.48011,
"c": 0.11201,
"h": 142.4
},
"luminance": 0.11846
}Semantic roles & 50–950 ramp
primary
#336D2F
secondary
#9A599E
accent
#58D0C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A