#ceb921
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 185, 33
HSL
53°, 72%, 47%
CMYK
0, 10, 84, 19
Luminance
0.4793
Every format
| HEX | #ceb921 |
| RGB | rgb(206, 185, 33) |
| HSL | hsl(53, 72%, 47%) |
| CMYK | cmyk(0%, 10%, 84%, 19%) |
| LAB | lab(74.8 -7.2 71.3) |
| LCH | lch(74.8 71.7 95.8) |
| OKLCH | oklch(0.780 0.155 100.6) |
Copy-ready code
/* CSS */
color: #ceb921;
background-color: #ceb921;
/* Tailwind (arbitrary) */
class="text-[#ceb921] bg-[#ceb921]"
/* SCSS */
$brand: #ceb921;
/* SwiftUI */
Color(red: 0.808, green: 0.725, blue: 0.129)
/* Android */
Color.parseColor("#ceb921")Accessibility — WCAG contrast
Aa
#ceb921 on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceb921 on black: 10.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green72.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta10.2%
Yellow84.0%
Key (black)19.2%
Color previews
#ceb921 text on a black background
contrast 10.59:1
Card sample
#ceb921 text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceb921;
Background color
Panel with #ceb921 background
background-color: #ceb921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceb921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceb921; background: linear-gradient(135deg, #ceb921, #70CE21);