#fffa8b
a light, electric yellow · cool · closest name: khaki
RGB
255, 250, 139
HSL
57°, 100%, 77%
CMYK
0, 2, 46, 0
Luminance
0.9150
Every format
| HEX | #fffa8b |
| RGB | rgb(255, 250, 139) |
| HSL | hsl(57, 100%, 77%) |
| CMYK | cmyk(0%, 2%, 46%, 0%) |
| LAB | lab(96.6 -13.2 53.5) |
| LCH | lch(96.6 55.1 103.8) |
| OKLCH | oklch(0.966 0.133 106.4) |
Copy-ready code
/* CSS */
color: #fffa8b;
background-color: #fffa8b;
/* Tailwind (arbitrary) */
class="text-[#fffa8b] bg-[#fffa8b]"
/* SCSS */
$brand: #fffa8b;
/* SwiftUI */
Color(red: 1.000, green: 0.980, blue: 0.545)
/* Android */
Color.parseColor("#fffa8b")Accessibility — WCAG contrast
Aa
#fffa8b on white: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffa8b on black: 19.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.0%
Blue54.5%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow45.5%
Key (black)0.0%
Color previews
#fffa8b text on a black background
contrast 19.30:1
Card sample
#fffa8b text on a white background
contrast 1.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffa8b;
Background color
Panel with #fffa8b background
background-color: #fffa8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffa8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 250, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 250, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffa8b; background: linear-gradient(135deg, #fffa8b, #B7FF8B);