#ece2cc
a pale, vivid yellow · warm · closest name: beige
RGB
236, 226, 204
HSL
41°, 46%, 86%
CMYK
0, 4, 14, 8
Luminance
0.7659
Every format
| HEX | #ece2cc |
| RGB | rgb(236, 226, 204) |
| HSL | hsl(41, 46%, 86%) |
| CMYK | cmyk(0%, 4%, 14%, 8%) |
| LAB | lab(90.1 -0.2 12.0) |
| LCH | lch(90.1 12.0 91.1) |
| OKLCH | oklch(0.915 0.031 86.5) |
Copy-ready code
/* CSS */
color: #ece2cc;
background-color: #ece2cc;
/* Tailwind (arbitrary) */
class="text-[#ece2cc] bg-[#ece2cc]"
/* SCSS */
$brand: #ece2cc;
/* SwiftUI */
Color(red: 0.925, green: 0.886, blue: 0.800)
/* Android */
Color.parseColor("#ece2cc")Accessibility — WCAG contrast
Aa
#ece2cc on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ece2cc on black: 16.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green88.6%
Blue80.0%
CMYK percentages
Cyan0.0%
Magenta4.2%
Yellow13.6%
Key (black)7.5%
Color previews
#ece2cc text on a black background
contrast 16.32:1
Card sample
#ece2cc text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ece2cc;
Background color
Panel with #ece2cc background
background-color: #ece2cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ece2cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 226, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 226, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ece2cc; background: linear-gradient(135deg, #ece2cc, #E1ECCC);