#336E28#336E28
#336E28 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.120 H 140.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #336E28 |
|---|---|
| RGB | rgb(51, 110, 40) |
| HSL | hsl(111, 47%, 29%) |
| HSV | hsv(111, 64%, 43%) |
| CMYK | cmyk(53.6%, 0%, 63.6%, 56.9%) |
| CIE-LAB | lab(41.23, -33.91, 32.52) |
| CIE-LCH | lch(41.23, 46.99, 136.20°) |
| OKLab | oklab(48.2% -0.0928 0.0761) |
| OKLCH | oklch(48.2% 0.12 140.6) |
| XYZ | xyz(7.3239, 12.0083, 3.9390) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.34
Darkgreen
#006400
ΔE00 5.83
Tree Green
#2A7E19
ΔE00 6.49
Darkolivegreen
#556B2F
ΔE00 7.10
Forest Green
#2D5A27
ΔE00 7.18
Deep Green
#02590F
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336E28 #63286E
analogous
#566E28 #336E28 #286E40
triadic
#336E28 #28336E #6E2833
tetradic
#336E28 #28566E #63286E #6E4028
square
#336E28 #28566E #63286E #6E4028
split-complementary
#336E28 #40286E #6E2856
monochromatic
#0A1608 #1E4118 #336E28 #489B38 #62C051
Accessibility & contrast
On white
6.17
#336E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#336E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336E28
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336E28 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#2D6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336e28; /* rgb */ color: rgb(51, 110, 40); /* oklch */ color: oklch(48.2% 0.120 140.6);
Tailwind
colors: {
custom: {
50: '#719865',
500: '#336e28',
950: '#000000',
},
}SCSS
$custom: #336e28; $custom-light: #719865; $custom-dark: #000000;
JSON
{
"hex": "#336e28",
"rgb": {
"r": 51,
"g": 110,
"b": 40
},
"hsl": {
"h": 110.571,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.48197,
"c": 0.12003,
"h": 140.6
},
"luminance": 0.12009
}Semantic roles & 50–950 ramp
primary
#336E28
secondary
#9451A0
accent
#51D6C1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A