#ffefca
a pale, electric yellow · warm · closest name: beige
RGB
255, 239, 202
HSL
42°, 100%, 90%
CMYK
0, 6, 21, 0
Luminance
0.8726
Every format
| HEX | #ffefca |
| RGB | rgb(255, 239, 202) |
| HSL | hsl(42, 100%, 90%) |
| CMYK | cmyk(0%, 6%, 21%, 0%) |
| LAB | lab(94.8 -0.3 19.9) |
| LCH | lch(94.8 19.9 91.0) |
| OKLCH | oklch(0.956 0.051 87.4) |
Copy-ready code
/* CSS */
color: #ffefca;
background-color: #ffefca;
/* Tailwind (arbitrary) */
class="text-[#ffefca] bg-[#ffefca]"
/* SCSS */
$brand: #ffefca;
/* SwiftUI */
Color(red: 1.000, green: 0.937, blue: 0.792)
/* Android */
Color.parseColor("#ffefca")Accessibility — WCAG contrast
Aa
#ffefca on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffefca on black: 18.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.7%
Blue79.2%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow20.8%
Key (black)0.0%
Color previews
#ffefca text on a black background
contrast 18.45:1
Card sample
#ffefca text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffefca;
Background color
Panel with #ffefca background
background-color: #ffefca;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffefca;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 239, 202, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 239, 202, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffefca; background: linear-gradient(135deg, #ffefca, #ECFFCA);