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