#564921
a deep, soft yellow · cool · closest name: darkslategray
RGB
86, 73, 33
HSL
45°, 45%, 23%
CMYK
0, 15, 62, 66
Luminance
0.0685
Every format
| HEX | #564921 |
| RGB | rgb(86, 73, 33) |
| HSL | hsl(45, 45%, 23%) |
| CMYK | cmyk(0%, 15%, 62%, 66%) |
| LAB | lab(31.5 -0.2 25.6) |
| LCH | lch(31.5 25.6 90.4) |
| OKLCH | oklch(0.409 0.060 91.6) |
Copy-ready code
/* CSS */
color: #564921;
background-color: #564921;
/* Tailwind (arbitrary) */
class="text-[#564921] bg-[#564921]"
/* SCSS */
$brand: #564921;
/* SwiftUI */
Color(red: 0.337, green: 0.286, blue: 0.129)
/* Android */
Color.parseColor("#564921")Accessibility — WCAG contrast
Aa
#564921 on white: 8.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#564921 on black: 2.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green28.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta15.1%
Yellow61.6%
Key (black)66.3%
Color previews
#564921 text on a black background
contrast 2.37:1
Card sample
#564921 text on a white background
contrast 8.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #564921;
Background color
Panel with #564921 background
background-color: #564921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #564921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 73, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 73, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #564921; background: linear-gradient(135deg, #564921, #405621);