#ecdfba
a light, vivid yellow · warm · closest name: beige
RGB
236, 223, 186
HSL
44°, 57%, 83%
CMYK
0, 6, 21, 8
Luminance
0.7415
Every format
| HEX | #ecdfba |
| RGB | rgb(236, 223, 186) |
| HSL | hsl(44, 57%, 83%) |
| CMYK | cmyk(0%, 6%, 21%, 8%) |
| LAB | lab(89.0 -1.4 19.8) |
| LCH | lch(89.0 19.8 94.0) |
| OKLCH | oklch(0.905 0.051 91.0) |
Copy-ready code
/* CSS */
color: #ecdfba;
background-color: #ecdfba;
/* Tailwind (arbitrary) */
class="text-[#ecdfba] bg-[#ecdfba]"
/* SCSS */
$brand: #ecdfba;
/* SwiftUI */
Color(red: 0.925, green: 0.875, blue: 0.729)
/* Android */
Color.parseColor("#ecdfba")Accessibility — WCAG contrast
Aa
#ecdfba on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecdfba on black: 15.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green87.5%
Blue72.9%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow21.2%
Key (black)7.5%
Color previews
#ecdfba text on a black background
contrast 15.83:1
Card sample
#ecdfba text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecdfba;
Background color
Panel with #ecdfba background
background-color: #ecdfba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecdfba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 223, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 223, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecdfba; background: linear-gradient(135deg, #ecdfba, #D8ECBA);