#c49f39
a balanced, vivid yellow · warm · closest name: peru
RGB
196, 159, 57
HSL
44°, 55%, 50%
CMYK
0, 19, 71, 23
Luminance
0.3683
Every format
| HEX | #c49f39 |
| RGB | rgb(196, 159, 57) |
| HSL | hsl(44, 55%, 50%) |
| CMYK | cmyk(0%, 19%, 71%, 23%) |
| LAB | lab(67.2 3.0 56.0) |
| LCH | lch(67.2 56.0 86.9) |
| OKLCH | oklch(0.718 0.125 88.5) |
Copy-ready code
/* CSS */
color: #c49f39;
background-color: #c49f39;
/* Tailwind (arbitrary) */
class="text-[#c49f39] bg-[#c49f39]"
/* SCSS */
$brand: #c49f39;
/* SwiftUI */
Color(red: 0.769, green: 0.624, blue: 0.224)
/* Android */
Color.parseColor("#c49f39")Accessibility — WCAG contrast
Aa
#c49f39 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c49f39 on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green62.4%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta18.9%
Yellow70.9%
Key (black)23.1%
Color previews
#c49f39 text on a black background
contrast 8.37:1
Card sample
#c49f39 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c49f39;
Background color
Panel with #c49f39 background
background-color: #c49f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c49f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 159, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 159, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49f39; background: linear-gradient(135deg, #c49f39, #8CC439);