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