#336F2F#336F2F
#336F2F is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.115 H 142.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #336F2F |
|---|---|
| RGB | rgb(51, 111, 47) |
| HSL | hsl(116, 41%, 31%) |
| HSV | hsv(116, 58%, 44%) |
| CMYK | cmyk(54.1%, 0%, 57.7%, 56.5%) |
| CIE-LAB | lab(41.65, -33.45, 29.44) |
| CIE-LCH | lch(41.65, 44.57, 138.65°) |
| OKLab | oklab(48.57% -0.0911 0.0701) |
| OKLCH | oklch(48.57% 0.115 142.4) |
| XYZ | xyz(7.5624, 12.2773, 4.6600) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.74
Darkgreen
#006400
ΔE00 6.75
Tree Green
#2A7E19
ΔE00 6.96
Forest Green
#2D5A27
ΔE00 7.14
Darkolivegreen
#556B2F
ΔE00 7.42
Pine
#2B5D34
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F2F #6B2F6F
analogous
#536F2F #336F2F #2F6F4B
triadic
#336F2F #2F336F #6F2F33
tetradic
#336F2F #2F536F #6B2F6F #6F4B2F
square
#336F2F #2F536F #6B2F6F #6F4B2F
split-complementary
#336F2F #4B2F6F #6F2F53
monochromatic
#0B190B #1F441D #336F2F #479A41 #64BB5E
Accessibility & contrast
On white
6.08
#336F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#336F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F2F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F2F | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#2B6C61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f2f; /* rgb */ color: rgb(51, 111, 47); /* oklch */ color: oklch(48.6% 0.115 142.4);
Tailwind
colors: {
custom: {
50: '#709969',
500: '#336f2f',
950: '#000000',
},
}SCSS
$custom: #336f2f; $custom-light: #709969; $custom-dark: #000000;
JSON
{
"hex": "#336f2f",
"rgb": {
"r": 51,
"g": 111,
"b": 47
},
"hsl": {
"h": 116.25,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.48572,
"c": 0.11499,
"h": 142.4
},
"luminance": 0.12278
}Semantic roles & 50–950 ramp
primary
#336F2F
secondary
#9C59A0
accent
#57D0C9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A