#ffecb8
a pale, electric yellow · warm · closest name: beige
RGB
255, 236, 184
HSL
44°, 100%, 86%
CMYK
0, 8, 28, 0
Luminance
0.8471
Every format
| HEX | #ffecb8 |
| RGB | rgb(255, 236, 184) |
| HSL | hsl(44, 100%, 86%) |
| CMYK | cmyk(0%, 8%, 28%, 0%) |
| LAB | lab(93.8 -1.2 27.6) |
| LCH | lch(93.8 27.6 92.6) |
| OKLCH | oklch(0.946 0.070 90.3) |
Copy-ready code
/* CSS */
color: #ffecb8;
background-color: #ffecb8;
/* Tailwind (arbitrary) */
class="text-[#ffecb8] bg-[#ffecb8]"
/* SCSS */
$brand: #ffecb8;
/* SwiftUI */
Color(red: 1.000, green: 0.925, blue: 0.722)
/* Android */
Color.parseColor("#ffecb8")Accessibility — WCAG contrast
Aa
#ffecb8 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffecb8 on black: 17.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green92.5%
Blue72.2%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow27.8%
Key (black)0.0%
Color previews
#ffecb8 text on a black background
contrast 17.94:1
Card sample
#ffecb8 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffecb8;
Background color
Panel with #ffecb8 background
background-color: #ffecb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffecb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 236, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 236, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffecb8; background: linear-gradient(135deg, #ffecb8, #E3FFB8);