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