#cead49
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 173, 73
HSL
45°, 58%, 55%
CMYK
0, 16, 65, 19
Luminance
0.4349
Every format
| HEX | #cead49 |
| RGB | rgb(206, 173, 73) |
| HSL | hsl(45, 58%, 55%) |
| CMYK | cmyk(0%, 16%, 65%, 19%) |
| LAB | lab(71.9 0.8 54.3) |
| LCH | lch(71.9 54.3 89.2) |
| OKLCH | oklch(0.758 0.124 90.8) |
Copy-ready code
/* CSS */
color: #cead49;
background-color: #cead49;
/* Tailwind (arbitrary) */
class="text-[#cead49] bg-[#cead49]"
/* SCSS */
$brand: #cead49;
/* SwiftUI */
Color(red: 0.808, green: 0.678, blue: 0.286)
/* Android */
Color.parseColor("#cead49")Accessibility — WCAG contrast
Aa
#cead49 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cead49 on black: 9.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.8%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta16.0%
Yellow64.6%
Key (black)19.2%
Color previews
#cead49 text on a black background
contrast 9.70:1
Card sample
#cead49 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cead49;
Background color
Panel with #cead49 background
background-color: #cead49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cead49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 173, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 173, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cead49; background: linear-gradient(135deg, #cead49, #96CE49);