#ffda4b
a balanced, electric yellow · cool · closest name: gold
RGB
255, 218, 75
HSL
48°, 100%, 65%
CMYK
0, 15, 71, 0
Luminance
0.7191
Every format
| HEX | #ffda4b |
| RGB | rgb(255, 218, 75) |
| HSL | hsl(48, 100%, 65%) |
| CMYK | cmyk(0%, 15%, 71%, 0%) |
| LAB | lab(87.9 -1.7 71.5) |
| LCH | lch(87.9 71.6 91.3) |
| OKLCH | oklch(0.895 0.159 94.2) |
Copy-ready code
/* CSS */
color: #ffda4b;
background-color: #ffda4b;
/* Tailwind (arbitrary) */
class="text-[#ffda4b] bg-[#ffda4b]"
/* SCSS */
$brand: #ffda4b;
/* SwiftUI */
Color(red: 1.000, green: 0.855, blue: 0.294)
/* Android */
Color.parseColor("#ffda4b")Accessibility — WCAG contrast
Aa
#ffda4b on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffda4b on black: 15.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green85.5%
Blue29.4%
CMYK percentages
Cyan0.0%
Magenta14.5%
Yellow70.6%
Key (black)0.0%
Color previews
#ffda4b text on a black background
contrast 15.38:1
Card sample
#ffda4b text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffda4b;
Background color
Panel with #ffda4b background
background-color: #ffda4b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffda4b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 218, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 218, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffda4b; background: linear-gradient(135deg, #ffda4b, #ACFF4B);