#fdff27
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 255, 39
HSL
61°, 100%, 58%
CMYK
1, 0, 85, 0
Luminance
0.9255
Every format
| HEX | #fdff27 |
| RGB | rgb(253, 255, 39) |
| HSL | hsl(61, 100%, 58%) |
| CMYK | cmyk(1%, 0%, 85%, 0%) |
| LAB | lab(97.0 -21.9 89.9) |
| LCH | lch(97.0 92.6 103.7) |
| OKLCH | oklch(0.967 0.205 110.3) |
Copy-ready code
/* CSS */
color: #fdff27;
background-color: #fdff27;
/* Tailwind (arbitrary) */
class="text-[#fdff27] bg-[#fdff27]"
/* SCSS */
$brand: #fdff27;
/* SwiftUI */
Color(red: 0.992, green: 1.000, blue: 0.153)
/* Android */
Color.parseColor("#fdff27")Accessibility — WCAG contrast
Aa
#fdff27 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdff27 on black: 19.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green100.0%
Blue15.3%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow84.7%
Key (black)0.0%
Color previews
#fdff27 text on a black background
contrast 19.51:1
Card sample
#fdff27 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdff27;
Background color
Panel with #fdff27 background
background-color: #fdff27;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdff27;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 255, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdff27; background: linear-gradient(135deg, #fdff27, #6DFF27);