#ffffa8
a light, electric yellow · cool · closest name: khaki
RGB
255, 255, 168
HSL
60°, 100%, 83%
CMYK
0, 0, 34, 0
Luminance
0.9561
Every format
| HEX | #ffffa8 |
| RGB | rgb(255, 255, 168) |
| HSL | hsl(60, 100%, 83%) |
| CMYK | cmyk(0%, 0%, 34%, 0%) |
| LAB | lab(98.3 -12.6 41.6) |
| LCH | lch(98.3 43.5 106.8) |
| OKLCH | oklch(0.981 0.108 108.2) |
Copy-ready code
/* CSS */
color: #ffffa8;
background-color: #ffffa8;
/* Tailwind (arbitrary) */
class="text-[#ffffa8] bg-[#ffffa8]"
/* SCSS */
$brand: #ffffa8;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 0.659)
/* Android */
Color.parseColor("#ffffa8")Accessibility — WCAG contrast
Aa
#ffffa8 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffffa8 on black: 20.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green100.0%
Blue65.9%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow34.1%
Key (black)0.0%
Color previews
#ffffa8 text on a black background
contrast 20.12:1
Card sample
#ffffa8 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffffa8;
Background color
Panel with #ffffa8 background
background-color: #ffffa8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffffa8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 255, 168, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 168, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffffa8; background: linear-gradient(135deg, #ffffa8, #C5FFA8);