#faff2f
a balanced, electric yellow · cool · closest name: yellow
RGB
250, 255, 47
HSL
61°, 100%, 59%
CMYK
2, 0, 82, 0
Luminance
0.9205
Every format
| HEX | #faff2f |
| RGB | rgb(250, 255, 47) |
| HSL | hsl(61, 100%, 59%) |
| CMYK | cmyk(2%, 0%, 82%, 0%) |
| LAB | lab(96.8 -22.9 88.0) |
| LCH | lch(96.8 90.9 104.6) |
| OKLCH | oklch(0.965 0.203 111.2) |
Copy-ready code
/* CSS */
color: #faff2f;
background-color: #faff2f;
/* Tailwind (arbitrary) */
class="text-[#faff2f] bg-[#faff2f]"
/* SCSS */
$brand: #faff2f;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.184)
/* Android */
Color.parseColor("#faff2f")Accessibility — WCAG contrast
Aa
#faff2f on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff2f on black: 19.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue18.4%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow81.6%
Key (black)0.0%
Color previews
#faff2f text on a black background
contrast 19.41:1
Card sample
#faff2f text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff2f;
Background color
Panel with #faff2f background
background-color: #faff2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff2f; background: linear-gradient(135deg, #faff2f, #6FFF2F);