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