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