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