#ece2af
a light, vivid yellow · cool · closest name: beige
RGB
236, 226, 175
HSL
50°, 62%, 81%
CMYK
0, 4, 26, 8
Luminance
0.7532
Every format
| HEX | #ece2af |
| RGB | rgb(236, 226, 175) |
| HSL | hsl(50, 62%, 81%) |
| CMYK | cmyk(0%, 4%, 26%, 8%) |
| LAB | lab(89.5 -4.4 26.2) |
| LCH | lch(89.5 26.6 99.6) |
| OKLCH | oklch(0.908 0.067 98.3) |
Copy-ready code
/* CSS */
color: #ece2af;
background-color: #ece2af;
/* Tailwind (arbitrary) */
class="text-[#ece2af] bg-[#ece2af]"
/* SCSS */
$brand: #ece2af;
/* SwiftUI */
Color(red: 0.925, green: 0.886, blue: 0.686)
/* Android */
Color.parseColor("#ece2af")Accessibility — WCAG contrast
Aa
#ece2af on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ece2af on black: 16.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green88.6%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta4.2%
Yellow25.8%
Key (black)7.5%
Color previews
#ece2af text on a black background
contrast 16.06:1
Card sample
#ece2af text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ece2af;
Background color
Panel with #ece2af background
background-color: #ece2af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ece2af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 226, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 226, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ece2af; background: linear-gradient(135deg, #ece2af, #CDECAF);