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