#ceac46
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 172, 70
HSL
45°, 58%, 54%
CMYK
0, 17, 66, 19
Luminance
0.4307
Every format
| HEX | #ceac46 |
| RGB | rgb(206, 172, 70) |
| HSL | hsl(45, 58%, 54%) |
| CMYK | cmyk(0%, 17%, 66%, 19%) |
| LAB | lab(71.6 1.1 55.3) |
| LCH | lch(71.6 55.4 88.8) |
| OKLCH | oklch(0.756 0.126 90.5) |
Copy-ready code
/* CSS */
color: #ceac46;
background-color: #ceac46;
/* Tailwind (arbitrary) */
class="text-[#ceac46] bg-[#ceac46]"
/* SCSS */
$brand: #ceac46;
/* SwiftUI */
Color(red: 0.808, green: 0.675, blue: 0.275)
/* Android */
Color.parseColor("#ceac46")Accessibility — WCAG contrast
Aa
#ceac46 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceac46 on black: 9.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.5%
Blue27.5%
CMYK percentages
Cyan0.0%
Magenta16.5%
Yellow66.0%
Key (black)19.2%
Color previews
#ceac46 text on a black background
contrast 9.61:1
Card sample
#ceac46 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceac46;
Background color
Panel with #ceac46 background
background-color: #ceac46;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceac46;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 172, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 172, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceac46; background: linear-gradient(135deg, #ceac46, #95CE46);