#ceab49
a balanced, vivid yellow · warm · closest name: peru
RGB
206, 171, 73
HSL
44°, 58%, 55%
CMYK
0, 17, 65, 19
Luminance
0.4273
Every format
| HEX | #ceab49 |
| RGB | rgb(206, 171, 73) |
| HSL | hsl(44, 58%, 55%) |
| CMYK | cmyk(0%, 17%, 65%, 19%) |
| LAB | lab(71.4 1.9 53.8) |
| LCH | lch(71.4 53.8 88.0) |
| OKLCH | oklch(0.754 0.123 89.4) |
Copy-ready code
/* CSS */
color: #ceab49;
background-color: #ceab49;
/* Tailwind (arbitrary) */
class="text-[#ceab49] bg-[#ceab49]"
/* SCSS */
$brand: #ceab49;
/* SwiftUI */
Color(red: 0.808, green: 0.671, blue: 0.286)
/* Android */
Color.parseColor("#ceab49")Accessibility — WCAG contrast
Aa
#ceab49 on white: 2.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceab49 on black: 9.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.1%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta17.0%
Yellow64.6%
Key (black)19.2%
Color previews
#ceab49 text on a black background
contrast 9.55:1
Card sample
#ceab49 text on a white background
contrast 2.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceab49;
Background color
Panel with #ceab49 background
background-color: #ceab49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceab49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 171, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 171, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceab49; background: linear-gradient(135deg, #ceab49, #98CE49);