#faff7c
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 124
HSL
62°, 100%, 74%
CMYK
2, 0, 51, 0
Luminance
0.9330
Every format
| HEX | #faff7c |
| RGB | rgb(250, 255, 124) |
| HSL | hsl(62, 100%, 74%) |
| CMYK | cmyk(2%, 0%, 51%, 0%) |
| LAB | lab(97.3 -18.8 61.2) |
| LCH | lch(97.3 64.0 107.1) |
| OKLCH | oklch(0.971 0.154 110.9) |
Copy-ready code
/* CSS */
color: #faff7c;
background-color: #faff7c;
/* Tailwind (arbitrary) */
class="text-[#faff7c] bg-[#faff7c]"
/* SCSS */
$brand: #faff7c;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.486)
/* Android */
Color.parseColor("#faff7c")Accessibility — WCAG contrast
Aa
#faff7c on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff7c on black: 19.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue48.6%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow51.4%
Key (black)0.0%
Color previews
#faff7c text on a black background
contrast 19.66:1
Card sample
#faff7c text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff7c;
Background color
Panel with #faff7c background
background-color: #faff7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff7c; background: linear-gradient(135deg, #faff7c, #A3FF7C);