#554b21
a deep, soft yellow · cool · closest name: darkslategray
RGB
85, 75, 33
HSL
49°, 44%, 23%
CMYK
0, 12, 61, 67
Luminance
0.0707
Every format
| HEX | #554b21 |
| RGB | rgb(85, 75, 33) |
| HSL | hsl(49, 44%, 23%) |
| CMYK | cmyk(0%, 12%, 61%, 67%) |
| LAB | lab(32.0 -1.9 26.2) |
| LCH | lch(32.0 26.3 94.2) |
| OKLCH | oklch(0.413 0.061 96.1) |
Copy-ready code
/* CSS */
color: #554b21;
background-color: #554b21;
/* Tailwind (arbitrary) */
class="text-[#554b21] bg-[#554b21]"
/* SCSS */
$brand: #554b21;
/* SwiftUI */
Color(red: 0.333, green: 0.294, blue: 0.129)
/* Android */
Color.parseColor("#554b21")Accessibility — WCAG contrast
Aa
#554b21 on white: 8.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#554b21 on black: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green29.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta11.8%
Yellow61.2%
Key (black)66.7%
Color previews
#554b21 text on a black background
contrast 2.41:1
Card sample
#554b21 text on a white background
contrast 8.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554b21;
Background color
Panel with #554b21 background
background-color: #554b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 75, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 75, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554b21; background: linear-gradient(135deg, #554b21, #3C5521);