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