#ffce2f
a balanced, electric yellow · cool · closest name: gold
RGB
255, 206, 47
HSL
46°, 100%, 59%
CMYK
0, 19, 82, 0
Luminance
0.6561
Every format
| HEX | #ffce2f |
| RGB | rgb(255, 206, 47) |
| HSL | hsl(46, 100%, 59%) |
| CMYK | cmyk(0%, 19%, 82%, 0%) |
| LAB | lab(84.8 3.4 77.9) |
| LCH | lch(84.8 78.0 87.5) |
| OKLCH | oklch(0.870 0.167 89.9) |
Copy-ready code
/* CSS */
color: #ffce2f;
background-color: #ffce2f;
/* Tailwind (arbitrary) */
class="text-[#ffce2f] bg-[#ffce2f]"
/* SCSS */
$brand: #ffce2f;
/* SwiftUI */
Color(red: 1.000, green: 0.808, blue: 0.184)
/* Android */
Color.parseColor("#ffce2f")Accessibility — WCAG contrast
Aa
#ffce2f on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffce2f on black: 14.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green80.8%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta19.2%
Yellow81.6%
Key (black)0.0%
Color previews
#ffce2f text on a black background
contrast 14.12:1
Card sample
#ffce2f text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffce2f;
Background color
Panel with #ffce2f background
background-color: #ffce2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffce2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 206, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 206, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffce2f; background: linear-gradient(135deg, #ffce2f, #A5FF2F);