#fff12c
a balanced, electric yellow · cool · closest name: yellow
RGB
255, 241, 44
HSL
56°, 100%, 59%
CMYK
0, 6, 83, 0
Luminance
0.8435
Every format
| HEX | #fff12c |
| RGB | rgb(255, 241, 44) |
| HSL | hsl(56, 100%, 59%) |
| CMYK | cmyk(0%, 6%, 83%, 0%) |
| LAB | lab(93.6 -14.2 86.1) |
| LCH | lch(93.6 87.3 99.4) |
| OKLCH | oklch(0.940 0.191 105.0) |
Copy-ready code
/* CSS */
color: #fff12c;
background-color: #fff12c;
/* Tailwind (arbitrary) */
class="text-[#fff12c] bg-[#fff12c]"
/* SCSS */
$brand: #fff12c;
/* SwiftUI */
Color(red: 1.000, green: 0.945, blue: 0.173)
/* Android */
Color.parseColor("#fff12c")Accessibility — WCAG contrast
Aa
#fff12c on white: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fff12c on black: 17.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green94.5%
Blue17.3%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow82.7%
Key (black)0.0%
Color previews
#fff12c text on a black background
contrast 17.87:1
Card sample
#fff12c text on a white background
contrast 1.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fff12c;
Background color
Panel with #fff12c background
background-color: #fff12c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fff12c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 241, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 241, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff12c; background: linear-gradient(135deg, #fff12c, #80FF2C);