#545621
a deep, soft yellow · cool · closest name: olive
RGB
84, 86, 33
HSL
62°, 45%, 23%
CMYK
2, 0, 62, 66
Luminance
0.0865
Every format
| HEX | #545621 |
| RGB | rgb(84, 86, 33) |
| HSL | hsl(62, 45%, 23%) |
| CMYK | cmyk(2%, 0%, 62%, 66%) |
| LAB | lab(35.3 -9.0 29.9) |
| LCH | lch(35.3 31.3 106.7) |
| OKLCH | oklch(0.439 0.074 111.1) |
Copy-ready code
/* CSS */
color: #545621;
background-color: #545621;
/* Tailwind (arbitrary) */
class="text-[#545621] bg-[#545621]"
/* SCSS */
$brand: #545621;
/* SwiftUI */
Color(red: 0.329, green: 0.337, blue: 0.129)
/* Android */
Color.parseColor("#545621")Accessibility — WCAG contrast
Aa
#545621 on white: 7.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#545621 on black: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green33.7%
Blue12.9%
CMYK percentages
Cyan2.3%
Magenta0.0%
Yellow61.6%
Key (black)66.3%
Color previews
#545621 text on a black background
contrast 2.73:1
Card sample
#545621 text on a white background
contrast 7.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #545621;
Background color
Panel with #545621 background
background-color: #545621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #545621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 86, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 86, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #545621; background: linear-gradient(135deg, #545621, #315621);