#ffffc8
a pale, electric yellow · cool · closest name: beige
RGB
255, 255, 200
HSL
60°, 100%, 89%
CMYK
0, 0, 22, 0
Luminance
0.9695
Every format
| HEX | #ffffc8 |
| RGB | rgb(255, 255, 200) |
| HSL | hsl(60, 100%, 89%) |
| CMYK | cmyk(0%, 0%, 22%, 0%) |
| LAB | lab(98.8 -8.6 26.4) |
| LCH | lch(98.8 27.7 108.1) |
| OKLCH | oklch(0.987 0.070 107.6) |
Copy-ready code
/* CSS */
color: #ffffc8;
background-color: #ffffc8;
/* Tailwind (arbitrary) */
class="text-[#ffffc8] bg-[#ffffc8]"
/* SCSS */
$brand: #ffffc8;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 0.784)
/* Android */
Color.parseColor("#ffffc8")Accessibility — WCAG contrast
Aa
#ffffc8 on white: 1.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffffc8 on black: 20.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green100.0%
Blue78.4%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow21.6%
Key (black)0.0%
Color previews
#ffffc8 text on a black background
contrast 20.39:1
Card sample
#ffffc8 text on a white background
contrast 1.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffffc8;
Background color
Panel with #ffffc8 background
background-color: #ffffc8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffffc8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 255, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffffc8; background: linear-gradient(135deg, #ffffc8, #DAFFC8);