#ceac3d
a balanced, vivid yellow · cool · closest name: olive
RGB
206, 172, 61
HSL
46°, 60%, 52%
CMYK
0, 17, 70, 19
Luminance
0.4296
Every format
| HEX | #ceac3d |
| RGB | rgb(206, 172, 61) |
| HSL | hsl(46, 60%, 52%) |
| CMYK | cmyk(0%, 17%, 70%, 19%) |
| LAB | lab(71.5 0.7 59.1) |
| LCH | lch(71.5 59.1 89.4) |
| OKLCH | oklch(0.755 0.132 91.6) |
Copy-ready code
/* CSS */
color: #ceac3d;
background-color: #ceac3d;
/* Tailwind (arbitrary) */
class="text-[#ceac3d] bg-[#ceac3d]"
/* SCSS */
$brand: #ceac3d;
/* SwiftUI */
Color(red: 0.808, green: 0.675, blue: 0.239)
/* Android */
Color.parseColor("#ceac3d")Accessibility — WCAG contrast
Aa
#ceac3d on white: 2.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceac3d on black: 9.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.5%
Blue23.9%
CMYK percentages
Cyan0.0%
Magenta16.5%
Yellow70.4%
Key (black)19.2%
Color previews
#ceac3d text on a black background
contrast 9.59:1
Card sample
#ceac3d text on a white background
contrast 2.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceac3d;
Background color
Panel with #ceac3d background
background-color: #ceac3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceac3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 172, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 172, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceac3d; background: linear-gradient(135deg, #ceac3d, #90CE3D);