#fccc55
a light, electric yellow · warm · closest name: khaki
RGB
252, 204, 85
HSL
43°, 97%, 66%
CMYK
0, 19, 66, 1
Luminance
0.6454
Every format
| HEX | #fccc55 |
| RGB | rgb(252, 204, 85) |
| HSL | hsl(43, 97%, 66%) |
| CMYK | cmyk(0%, 19%, 66%, 1%) |
| LAB | lab(84.3 4.7 63.7) |
| LCH | lch(84.3 63.8 85.8) |
| OKLCH | oklch(0.866 0.144 86.7) |
Copy-ready code
/* CSS */
color: #fccc55;
background-color: #fccc55;
/* Tailwind (arbitrary) */
class="text-[#fccc55] bg-[#fccc55]"
/* SCSS */
$brand: #fccc55;
/* SwiftUI */
Color(red: 0.988, green: 0.800, blue: 0.333)
/* Android */
Color.parseColor("#fccc55")Accessibility — WCAG contrast
Aa
#fccc55 on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fccc55 on black: 13.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green80.0%
Blue33.3%
CMYK percentages
Cyan0.0%
Magenta19.0%
Yellow66.3%
Key (black)1.2%
Color previews
#fccc55 text on a black background
contrast 13.91:1
Card sample
#fccc55 text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fccc55;
Background color
Panel with #fccc55 background
background-color: #fccc55;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fccc55;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 204, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 204, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fccc55; background: linear-gradient(135deg, #fccc55, #BDFC55);