#fcff8b
a light, electric yellow · cool · closest name: khaki
RGB
252, 255, 139
HSL
62°, 100%, 77%
CMYK
1, 0, 46, 0
Luminance
0.9408
Every format
| HEX | #fcff8b |
| RGB | rgb(252, 255, 139) |
| HSL | hsl(62, 100%, 77%) |
| CMYK | cmyk(1%, 0%, 46%, 0%) |
| LAB | lab(97.7 -16.7 54.8) |
| LCH | lch(97.7 57.3 107.0) |
| OKLCH | oklch(0.974 0.139 110.0) |
Copy-ready code
/* CSS */
color: #fcff8b;
background-color: #fcff8b;
/* Tailwind (arbitrary) */
class="text-[#fcff8b] bg-[#fcff8b]"
/* SCSS */
$brand: #fcff8b;
/* SwiftUI */
Color(red: 0.988, green: 1.000, blue: 0.545)
/* Android */
Color.parseColor("#fcff8b")Accessibility — WCAG contrast
Aa
#fcff8b on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcff8b on black: 19.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green100.0%
Blue54.5%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow45.5%
Key (black)0.0%
Color previews
#fcff8b text on a black background
contrast 19.82:1
Card sample
#fcff8b text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcff8b;
Background color
Panel with #fcff8b background
background-color: #fcff8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcff8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 255, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 255, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcff8b; background: linear-gradient(135deg, #fcff8b, #AFFF8B);