#fcdf89
a light, electric yellow · warm · closest name: khaki
RGB
252, 223, 137
HSL
45°, 95%, 76%
CMYK
0, 12, 46, 1
Luminance
0.7528
Every format
| HEX | #fcdf89 |
| RGB | rgb(252, 223, 137) |
| HSL | hsl(45, 95%, 76%) |
| CMYK | cmyk(0%, 12%, 46%, 1%) |
| LAB | lab(89.5 -1.1 45.7) |
| LCH | lch(89.5 45.7 91.3) |
| OKLCH | oklch(0.909 0.110 91.4) |
Copy-ready code
/* CSS */
color: #fcdf89;
background-color: #fcdf89;
/* Tailwind (arbitrary) */
class="text-[#fcdf89] bg-[#fcdf89]"
/* SCSS */
$brand: #fcdf89;
/* SwiftUI */
Color(red: 0.988, green: 0.875, blue: 0.537)
/* Android */
Color.parseColor("#fcdf89")Accessibility — WCAG contrast
Aa
#fcdf89 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcdf89 on black: 16.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green87.5%
Blue53.7%
CMYK percentages
Cyan0.0%
Magenta11.5%
Yellow45.6%
Key (black)1.2%
Color previews
#fcdf89 text on a black background
contrast 16.06:1
Card sample
#fcdf89 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcdf89;
Background color
Panel with #fcdf89 background
background-color: #fcdf89;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcdf89;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 223, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 223, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcdf89; background: linear-gradient(135deg, #fcdf89, #CCFC89);