#ffee2f
a balanced, electric yellow · cool · closest name: gold
RGB
255, 238, 47
HSL
55°, 100%, 59%
CMYK
0, 7, 82, 0
Luminance
0.8261
Every format
| HEX | #ffee2f |
| RGB | rgb(255, 238, 47) |
| HSL | hsl(55, 100%, 59%) |
| CMYK | cmyk(0%, 7%, 82%, 0%) |
| LAB | lab(92.8 -12.7 84.8) |
| LCH | lch(92.8 85.7 98.5) |
| OKLCH | oklch(0.934 0.188 103.9) |
Copy-ready code
/* CSS */
color: #ffee2f;
background-color: #ffee2f;
/* Tailwind (arbitrary) */
class="text-[#ffee2f] bg-[#ffee2f]"
/* SCSS */
$brand: #ffee2f;
/* SwiftUI */
Color(red: 1.000, green: 0.933, blue: 0.184)
/* Android */
Color.parseColor("#ffee2f")Accessibility — WCAG contrast
Aa
#ffee2f on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffee2f on black: 17.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.3%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta6.7%
Yellow81.6%
Key (black)0.0%
Color previews
#ffee2f text on a black background
contrast 17.52:1
Card sample
#ffee2f text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffee2f;
Background color
Panel with #ffee2f background
background-color: #ffee2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffee2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 238, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 238, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffee2f; background: linear-gradient(135deg, #ffee2f, #85FF2F);