#545521
a deep, soft yellow · cool · closest name: olive
RGB
84, 85, 33
HSL
61°, 44%, 23%
CMYK
1, 0, 61, 67
Luminance
0.0849
Every format
| HEX | #545521 |
| RGB | rgb(84, 85, 33) |
| HSL | hsl(61, 44%, 23%) |
| CMYK | cmyk(1%, 0%, 61%, 67%) |
| LAB | lab(35.0 -8.4 29.6) |
| LCH | lch(35.0 30.8 105.9) |
| OKLCH | oklch(0.437 0.073 110.1) |
Copy-ready code
/* CSS */
color: #545521;
background-color: #545521;
/* Tailwind (arbitrary) */
class="text-[#545521] bg-[#545521]"
/* SCSS */
$brand: #545521;
/* SwiftUI */
Color(red: 0.329, green: 0.333, blue: 0.129)
/* Android */
Color.parseColor("#545521")Accessibility — WCAG contrast
Aa
#545521 on white: 7.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#545521 on black: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green33.3%
Blue12.9%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow61.2%
Key (black)66.7%
Color previews
#545521 text on a black background
contrast 2.70:1
Card sample
#545521 text on a white background
contrast 7.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #545521;
Background color
Panel with #545521 background
background-color: #545521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #545521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 85, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 85, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #545521; background: linear-gradient(135deg, #545521, #315521);