#556c21
a dark, vivid green · cool · closest name: olivedrab
RGB
85, 108, 33
HSL
78°, 53%, 28%
CMYK
21, 0, 69, 58
Luminance
0.1277
Every format
| HEX | #556c21 |
| RGB | rgb(85, 108, 33) |
| HSL | hsl(78, 53%, 28%) |
| CMYK | cmyk(21%, 0%, 69%, 58%) |
| LAB | lab(42.4 -20.7 37.7) |
| LCH | lch(42.4 43.0 118.8) |
| OKLCH | oklch(0.496 0.104 124.8) |
Copy-ready code
/* CSS */
color: #556c21;
background-color: #556c21;
/* Tailwind (arbitrary) */
class="text-[#556c21] bg-[#556c21]"
/* SCSS */
$brand: #556c21;
/* SwiftUI */
Color(red: 0.333, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#556c21")Accessibility — WCAG contrast
Aa
#556c21 on white: 5.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#556c21 on black: 3.55:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green42.4%
Blue12.9%
CMYK percentages
Cyan21.3%
Magenta0.0%
Yellow69.4%
Key (black)57.6%
Color previews
#556c21 text on a black background
contrast 3.55:1
Card sample
#556c21 text on a white background
contrast 5.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #556c21;
Background color
Panel with #556c21 background
background-color: #556c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #556c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #556c21; background: linear-gradient(135deg, #556c21, #236C21);