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