#cecd21
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 205, 33
HSL
60°, 72%, 47%
CMYK
0, 1, 84, 19
Luminance
0.5689
Every format
| HEX | #cecd21 |
| RGB | rgb(206, 205, 33) |
| HSL | hsl(60, 72%, 47%) |
| CMYK | cmyk(0%, 1%, 84%, 19%) |
| LAB | lab(80.1 -17.4 75.8) |
| LCH | lch(80.1 77.7 102.9) |
| OKLCH | oklch(0.823 0.172 109.3) |
Copy-ready code
/* CSS */
color: #cecd21;
background-color: #cecd21;
/* Tailwind (arbitrary) */
class="text-[#cecd21] bg-[#cecd21]"
/* SCSS */
$brand: #cecd21;
/* SwiftUI */
Color(red: 0.808, green: 0.804, blue: 0.129)
/* Android */
Color.parseColor("#cecd21")Accessibility — WCAG contrast
Aa
#cecd21 on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cecd21 on black: 12.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green80.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta0.5%
Yellow84.0%
Key (black)19.2%
Color previews
#cecd21 text on a black background
contrast 12.38:1
Card sample
#cecd21 text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cecd21;
Background color
Panel with #cecd21 background
background-color: #cecd21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cecd21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 205, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 205, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecd21; background: linear-gradient(135deg, #cecd21, #5CCE21);