#565921
a deep, vivid yellow · cool · closest name: olive
RGB
86, 89, 33
HSL
63°, 46%, 24%
CMYK
3, 0, 63, 65
Luminance
0.0923
Every format
| HEX | #565921 |
| RGB | rgb(86, 89, 33) |
| HSL | hsl(63, 46%, 24%) |
| CMYK | cmyk(3%, 0%, 63%, 65%) |
| LAB | lab(36.4 -9.8 31.3) |
| LCH | lch(36.4 32.7 107.4) |
| OKLCH | oklch(0.449 0.078 112.0) |
Copy-ready code
/* CSS */
color: #565921;
background-color: #565921;
/* Tailwind (arbitrary) */
class="text-[#565921] bg-[#565921]"
/* SCSS */
$brand: #565921;
/* SwiftUI */
Color(red: 0.337, green: 0.349, blue: 0.129)
/* Android */
Color.parseColor("#565921")Accessibility — WCAG contrast
Aa
#565921 on white: 7.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#565921 on black: 2.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green34.9%
Blue12.9%
CMYK percentages
Cyan3.4%
Magenta0.0%
Yellow62.9%
Key (black)65.1%
Color previews
#565921 text on a black background
contrast 2.85:1
Card sample
#565921 text on a white background
contrast 7.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #565921;
Background color
Panel with #565921 background
background-color: #565921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #565921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 89, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 89, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #565921; background: linear-gradient(135deg, #565921, #315921);