#336940#336940
#336940 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.2% C 0.088 H 149.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #336940 |
|---|---|
| RGB | rgb(51, 105, 64) |
| HSL | hsl(134, 35%, 31%) |
| HSV | hsv(134, 51%, 41%) |
| CMYK | cmyk(51.4%, 0%, 39%, 58.8%) |
| CIE-LAB | lab(39.88, -27.91, 17.70) |
| CIE-LCH | lch(39.88, 33.04, 147.62°) |
| OKLab | oklab(47.2% -0.0758 0.0442) |
| OKLCH | oklch(47.2% 0.088 149.8) |
| XYZ | xyz(7.3418, 11.1766, 6.6199) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.02
Pine
#2B5D34
ΔE00 4.06
Spruce
#0A5F38
ΔE00 5.09
Forest Green
#2D5A27
ΔE00 6.19
Darkish Green
#287C37
ΔE00 8.33
Darkolivegreen
#556B2F
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336940 #69335C
analogous
#416933 #336940 #33695B
triadic
#336940 #403369 #694033
tetradic
#336940 #334169 #69335C #695B33
square
#336940 #334169 #69335C #695B33
split-complementary
#336940 #5B3369 #693341
monochromatic
#0B170E #1F4027 #336940 #479259 #63B376
Accessibility & contrast
On white
6.49
#336940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#336940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336940
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336940 | 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)
#6A613D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#28675F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #336940; /* rgb */ color: rgb(51, 105, 64); /* oklch */ color: oklch(47.2% 0.088 149.8);
Tailwind
colors: {
custom: {
50: '#6f9475',
500: '#336940',
950: '#000000',
},
}SCSS
$custom: #336940; $custom-light: #6f9475; $custom-dark: #000000;
JSON
{
"hex": "#336940",
"rgb": {
"r": 51,
"g": 105,
"b": 64
},
"hsl": {
"h": 134.444,
"s": 34.615,
"l": 30.588
},
"oklch": {
"l": 0.47203,
"c": 0.08777,
"h": 149.8
},
"luminance": 0.11177
}Semantic roles & 50–950 ramp
primary
#336940
secondary
#9A5E8B
accent
#5DB0CB
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B