#ffcb50
a light, electric yellow · warm · closest name: gold
RGB
255, 203, 80
HSL
42°, 100%, 66%
CMYK
0, 20, 69, 0
Luminance
0.6455
Every format
| HEX | #ffcb50 |
| RGB | rgb(255, 203, 80) |
| HSL | hsl(42, 100%, 66%) |
| CMYK | cmyk(0%, 20%, 69%, 0%) |
| LAB | lab(84.3 6.2 65.8) |
| LCH | lch(84.3 66.1 84.6) |
| OKLCH | oklch(0.867 0.148 85.5) |
Copy-ready code
/* CSS */
color: #ffcb50;
background-color: #ffcb50;
/* Tailwind (arbitrary) */
class="text-[#ffcb50] bg-[#ffcb50]"
/* SCSS */
$brand: #ffcb50;
/* SwiftUI */
Color(red: 1.000, green: 0.796, blue: 0.314)
/* Android */
Color.parseColor("#ffcb50")Accessibility — WCAG contrast
Aa
#ffcb50 on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcb50 on black: 13.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green79.6%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta20.4%
Yellow68.6%
Key (black)0.0%
Color previews
#ffcb50 text on a black background
contrast 13.91:1
Card sample
#ffcb50 text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcb50;
Background color
Panel with #ffcb50 background
background-color: #ffcb50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcb50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 203, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 203, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcb50; background: linear-gradient(135deg, #ffcb50, #BEFF50);