#fccc16
a balanced, electric yellow · cool · closest name: gold
RGB
252, 204, 22
HSL
48°, 98%, 54%
CMYK
0, 19, 91, 1
Luminance
0.6394
Every format
| HEX | #fccc16 |
| RGB | rgb(252, 204, 22) |
| HSL | hsl(48, 98%, 54%) |
| CMYK | cmyk(0%, 19%, 91%, 1%) |
| LAB | lab(83.9 2.6 82.5) |
| LCH | lch(83.9 82.6 88.2) |
| OKLCH | oklch(0.863 0.173 91.1) |
Copy-ready code
/* CSS */
color: #fccc16;
background-color: #fccc16;
/* Tailwind (arbitrary) */
class="text-[#fccc16] bg-[#fccc16]"
/* SCSS */
$brand: #fccc16;
/* SwiftUI */
Color(red: 0.988, green: 0.800, blue: 0.086)
/* Android */
Color.parseColor("#fccc16")Accessibility — WCAG contrast
Aa
#fccc16 on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fccc16 on black: 13.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green80.0%
Blue8.6%
CMYK percentages
Cyan0.0%
Magenta19.0%
Yellow91.3%
Key (black)1.2%
Color previews
#fccc16 text on a black background
contrast 13.79:1
Card sample
#fccc16 text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fccc16;
Background color
Panel with #fccc16 background
background-color: #fccc16;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fccc16;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 204, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 204, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fccc16; background: linear-gradient(135deg, #fccc16, #93FC16);