#ceb849
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 184, 73
HSL
50°, 58%, 55%
CMYK
0, 11, 65, 19
Luminance
0.4788
Every format
| HEX | #ceb849 |
| RGB | rgb(206, 184, 73) |
| HSL | hsl(50, 58%, 55%) |
| CMYK | cmyk(0%, 11%, 65%, 19%) |
| LAB | lab(74.8 -5.0 57.4) |
| LCH | lch(74.8 57.6 95.0) |
| OKLCH | oklch(0.781 0.132 98.0) |
Copy-ready code
/* CSS */
color: #ceb849;
background-color: #ceb849;
/* Tailwind (arbitrary) */
class="text-[#ceb849] bg-[#ceb849]"
/* SCSS */
$brand: #ceb849;
/* SwiftUI */
Color(red: 0.808, green: 0.722, blue: 0.286)
/* Android */
Color.parseColor("#ceb849")Accessibility — WCAG contrast
Aa
#ceb849 on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceb849 on black: 10.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green72.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta10.7%
Yellow64.6%
Key (black)19.2%
Color previews
#ceb849 text on a black background
contrast 10.58:1
Card sample
#ceb849 text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceb849;
Background color
Panel with #ceb849 background
background-color: #ceb849;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceb849;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 184, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 184, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceb849; background: linear-gradient(135deg, #ceb849, #8BCE49);