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