#fff85c
a light, electric yellow · cool · closest name: gold
RGB
255, 248, 92
HSL
57°, 100%, 68%
CMYK
0, 3, 64, 0
Luminance
0.8917
Every format
| HEX | #fff85c |
| RGB | rgb(255, 248, 92) |
| HSL | hsl(57, 100%, 68%) |
| CMYK | cmyk(0%, 3%, 64%, 0%) |
| LAB | lab(95.7 -15.7 72.9) |
| LCH | lch(95.7 74.6 102.1) |
| OKLCH | oklch(0.957 0.172 106.8) |
Copy-ready code
/* CSS */
color: #fff85c;
background-color: #fff85c;
/* Tailwind (arbitrary) */
class="text-[#fff85c] bg-[#fff85c]"
/* SCSS */
$brand: #fff85c;
/* SwiftUI */
Color(red: 1.000, green: 0.973, blue: 0.361)
/* Android */
Color.parseColor("#fff85c")Accessibility — WCAG contrast
Aa
#fff85c on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fff85c on black: 18.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green97.3%
Blue36.1%
CMYK percentages
Cyan0.0%
Magenta2.7%
Yellow63.9%
Key (black)0.0%
Color previews
#fff85c text on a black background
contrast 18.83:1
Card sample
#fff85c text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fff85c;
Background color
Panel with #fff85c background
background-color: #fff85c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fff85c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 248, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 248, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff85c; background: linear-gradient(135deg, #fff85c, #99FF5C);