#336926#336926
#336926 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.8% C 0.115 H 139.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #336926 |
|---|---|
| RGB | rgb(51, 105, 38) |
| HSL | hsl(108, 47%, 28%) |
| HSV | hsv(108, 64%, 41%) |
| CMYK | cmyk(51.4%, 0%, 63.8%, 58.8%) |
| CIE-LAB | lab(39.49, -31.96, 31.54) |
| CIE-LCH | lch(39.49, 44.90, 135.37°) |
| OKLab | oklab(46.76% -0.0876 0.0738) |
| OKLCH | oklch(46.76% 0.115 139.9) |
| XYZ | xyz(6.7664, 10.9464, 3.5897) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 5.56
Deep Green
#02590F
ΔE00 6.54
Darkolivegreen
#556B2F
ΔE00 6.82
Pine
#2B5D34
ΔE00 6.86
Darkish Green
#287C37
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336926 #5C2669
analogous
#546926 #336926 #26693A
triadic
#336926 #263369 #692633
tetradic
#336926 #265469 #5C2669 #693A26
square
#336926 #265469 #5C2669 #693A26
split-complementary
#336926 #3A2669 #692654
monochromatic
#0B1608 #1D3C16 #336926 #499636 #62BE4B
Accessibility & contrast
On white
6.58
#336926 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#336926 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336926
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336926 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336926 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C601F
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#2E665B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #336926; /* rgb */ color: rgb(51, 105, 38); /* oklch */ color: oklch(46.8% 0.115 139.9);
Tailwind
colors: {
custom: {
50: '#709463',
500: '#336926',
950: '#000000',
},
}SCSS
$custom: #336926; $custom-light: #709463; $custom-dark: #000000;
JSON
{
"hex": "#336926",
"rgb": {
"r": 51,
"g": 105,
"b": 38
},
"hsl": {
"h": 108.358,
"s": 46.853,
"l": 28.039
},
"oklch": {
"l": 0.46761,
"c": 0.11457,
"h": 139.9
},
"luminance": 0.10947
}Semantic roles & 50–950 ramp
primary
#336926
secondary
#8D4F9C
accent
#51D6BD
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D05
muted
#7B7E7A