#ffffc4
a pale, electric yellow · cool · closest name: beige
RGB
255, 255, 196
HSL
60°, 100%, 88%
CMYK
0, 0, 23, 0
Luminance
0.9677
Every format
| HEX | #ffffc4 |
| RGB | rgb(255, 255, 196) |
| HSL | hsl(60, 100%, 88%) |
| CMYK | cmyk(0%, 0%, 23%, 0%) |
| LAB | lab(98.7 -9.2 28.3) |
| LCH | lch(98.7 29.7 107.9) |
| OKLCH | oklch(0.986 0.075 107.7) |
Copy-ready code
/* CSS */
color: #ffffc4;
background-color: #ffffc4;
/* Tailwind (arbitrary) */
class="text-[#ffffc4] bg-[#ffffc4]"
/* SCSS */
$brand: #ffffc4;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 0.769)
/* Android */
Color.parseColor("#ffffc4")Accessibility — WCAG contrast
Aa
#ffffc4 on white: 1.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffffc4 on black: 20.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green100.0%
Blue76.9%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow23.1%
Key (black)0.0%
Color previews
#ffffc4 text on a black background
contrast 20.35:1
Card sample
#ffffc4 text on a white background
contrast 1.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffffc4;
Background color
Panel with #ffffc4 background
background-color: #ffffc4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffffc4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 255, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffffc4; background: linear-gradient(135deg, #ffffc4, #D8FFC4);