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