#ffce3b
a balanced, electric yellow · cool · closest name: gold
RGB
255, 206, 59
HSL
45°, 100%, 62%
CMYK
0, 19, 77, 0
Luminance
0.6572
Every format
| HEX | #ffce3b |
| RGB | rgb(255, 206, 59) |
| HSL | hsl(45, 100%, 62%) |
| CMYK | cmyk(0%, 19%, 77%, 0%) |
| LAB | lab(84.8 3.8 74.3) |
| LCH | lch(84.8 74.4 87.1) |
| OKLCH | oklch(0.871 0.162 89.2) |
Copy-ready code
/* CSS */
color: #ffce3b;
background-color: #ffce3b;
/* Tailwind (arbitrary) */
class="text-[#ffce3b] bg-[#ffce3b]"
/* SCSS */
$brand: #ffce3b;
/* SwiftUI */
Color(red: 1.000, green: 0.808, blue: 0.231)
/* Android */
Color.parseColor("#ffce3b")Accessibility — WCAG contrast
Aa
#ffce3b on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffce3b on black: 14.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green80.8%
Blue23.1%
CMYK percentages
Cyan0.0%
Magenta19.2%
Yellow76.9%
Key (black)0.0%
Color previews
#ffce3b text on a black background
contrast 14.14:1
Card sample
#ffce3b text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffce3b;
Background color
Panel with #ffce3b background
background-color: #ffce3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffce3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 206, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 206, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffce3b; background: linear-gradient(135deg, #ffce3b, #ADFF3B);