#ffecb3
a pale, electric yellow · cool · closest name: khaki
RGB
255, 236, 179
HSL
45°, 100%, 85%
CMYK
0, 8, 30, 0
Luminance
0.8451
Every format
| HEX | #ffecb3 |
| RGB | rgb(255, 236, 179) |
| HSL | hsl(45, 100%, 85%) |
| CMYK | cmyk(0%, 8%, 30%, 0%) |
| LAB | lab(93.7 -1.9 30.0) |
| LCH | lch(93.7 30.1 93.6) |
| OKLCH | oklch(0.945 0.076 91.8) |
Copy-ready code
/* CSS */
color: #ffecb3;
background-color: #ffecb3;
/* Tailwind (arbitrary) */
class="text-[#ffecb3] bg-[#ffecb3]"
/* SCSS */
$brand: #ffecb3;
/* SwiftUI */
Color(red: 1.000, green: 0.925, blue: 0.702)
/* Android */
Color.parseColor("#ffecb3")Accessibility — WCAG contrast
Aa
#ffecb3 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffecb3 on black: 17.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green92.5%
Blue70.2%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow29.8%
Key (black)0.0%
Color previews
#ffecb3 text on a black background
contrast 17.90:1
Card sample
#ffecb3 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffecb3;
Background color
Panel with #ffecb3 background
background-color: #ffecb3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffecb3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 236, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 236, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffecb3; background: linear-gradient(135deg, #ffecb3, #DFFFB3);