#fceb7f
a light, electric yellow · cool · closest name: khaki
RGB
252, 235, 127
HSL
52°, 95%, 74%
CMYK
0, 7, 50, 1
Luminance
0.8164
Every format
| HEX | #fceb7f |
| RGB | rgb(252, 235, 127) |
| HSL | hsl(52, 95%, 74%) |
| CMYK | cmyk(0%, 7%, 50%, 1%) |
| LAB | lab(92.4 -8.0 54.0) |
| LCH | lch(92.4 54.6 98.4) |
| OKLCH | oklch(0.932 0.130 100.5) |
Copy-ready code
/* CSS */
color: #fceb7f;
background-color: #fceb7f;
/* Tailwind (arbitrary) */
class="text-[#fceb7f] bg-[#fceb7f]"
/* SCSS */
$brand: #fceb7f;
/* SwiftUI */
Color(red: 0.988, green: 0.922, blue: 0.498)
/* Android */
Color.parseColor("#fceb7f")Accessibility — WCAG contrast
Aa
#fceb7f on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fceb7f on black: 17.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green92.2%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta6.7%
Yellow49.6%
Key (black)1.2%
Color previews
#fceb7f text on a black background
contrast 17.33:1
Card sample
#fceb7f text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fceb7f;
Background color
Panel with #fceb7f background
background-color: #fceb7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fceb7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 235, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 235, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fceb7f; background: linear-gradient(135deg, #fceb7f, #BAFC7F);