#ceac24
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 172, 36
HSL
48°, 70%, 48%
CMYK
0, 17, 83, 19
Luminance
0.4275
Every format
| HEX | #ceac24 |
| RGB | rgb(206, 172, 36) |
| HSL | hsl(48, 70%, 48%) |
| CMYK | cmyk(0%, 17%, 83%, 19%) |
| LAB | lab(71.4 -0.3 67.7) |
| LCH | lch(71.4 67.7 90.3) |
| OKLCH | oklch(0.753 0.145 93.5) |
Copy-ready code
/* CSS */
color: #ceac24;
background-color: #ceac24;
/* Tailwind (arbitrary) */
class="text-[#ceac24] bg-[#ceac24]"
/* SCSS */
$brand: #ceac24;
/* SwiftUI */
Color(red: 0.808, green: 0.675, blue: 0.141)
/* Android */
Color.parseColor("#ceac24")Accessibility — WCAG contrast
Aa
#ceac24 on white: 2.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceac24 on black: 9.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.5%
Blue14.1%
CMYK percentages
Cyan0.0%
Magenta16.5%
Yellow82.5%
Key (black)19.2%
Color previews
#ceac24 text on a black background
contrast 9.55:1
Card sample
#ceac24 text on a white background
contrast 2.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceac24;
Background color
Panel with #ceac24 background
background-color: #ceac24;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceac24;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 172, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 172, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceac24; background: linear-gradient(135deg, #ceac24, #7FCE24);