#c49b21
a dark, vivid yellow · warm · closest name: olive
RGB
196, 155, 33
HSL
45°, 71%, 45%
CMYK
0, 21, 83, 23
Luminance
0.3529
Every format
| HEX | #c49b21 |
| RGB | rgb(196, 155, 33) |
| HSL | hsl(45, 71%, 45%) |
| CMYK | cmyk(0%, 21%, 83%, 23%) |
| LAB | lab(66.0 4.2 63.5) |
| LCH | lch(66.0 63.6 86.2) |
| OKLCH | oklch(0.708 0.136 88.2) |
Copy-ready code
/* CSS */
color: #c49b21;
background-color: #c49b21;
/* Tailwind (arbitrary) */
class="text-[#c49b21] bg-[#c49b21]"
/* SCSS */
$brand: #c49b21;
/* SwiftUI */
Color(red: 0.769, green: 0.608, blue: 0.129)
/* Android */
Color.parseColor("#c49b21")Accessibility — WCAG contrast
Aa
#c49b21 on white: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c49b21 on black: 8.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green60.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta20.9%
Yellow83.2%
Key (black)23.1%
Color previews
#c49b21 text on a black background
contrast 8.06:1
Card sample
#c49b21 text on a white background
contrast 2.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c49b21;
Background color
Panel with #c49b21 background
background-color: #c49b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c49b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 155, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 155, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49b21; background: linear-gradient(135deg, #c49b21, #80C421);