#ffec7d
a light, electric yellow · cool · closest name: khaki
RGB
255, 236, 125
HSL
51°, 100%, 75%
CMYK
0, 8, 51, 0
Luminance
0.8273
Every format
| HEX | #ffec7d |
| RGB | rgb(255, 236, 125) |
| HSL | hsl(51, 100%, 75%) |
| CMYK | cmyk(0%, 8%, 51%, 0%) |
| LAB | lab(92.9 -7.5 55.6) |
| LCH | lch(92.9 56.1 97.7) |
| OKLCH | oklch(0.936 0.133 99.8) |
Copy-ready code
/* CSS */
color: #ffec7d;
background-color: #ffec7d;
/* Tailwind (arbitrary) */
class="text-[#ffec7d] bg-[#ffec7d]"
/* SCSS */
$brand: #ffec7d;
/* SwiftUI */
Color(red: 1.000, green: 0.925, blue: 0.490)
/* Android */
Color.parseColor("#ffec7d")Accessibility — WCAG contrast
Aa
#ffec7d on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffec7d on black: 17.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green92.5%
Blue49.0%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow51.0%
Key (black)0.0%
Color previews
#ffec7d text on a black background
contrast 17.55:1
Card sample
#ffec7d text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffec7d;
Background color
Panel with #ffec7d background
background-color: #ffec7d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffec7d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 236, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 236, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffec7d; background: linear-gradient(135deg, #ffec7d, #BBFF7D);