#ececc7
a pale, vivid yellow · cool · closest name: beige
RGB
236, 236, 199
HSL
60°, 49%, 85%
CMYK
0, 0, 16, 8
Luminance
0.8195
Every format
| HEX | #ececc7 |
| RGB | rgb(236, 236, 199) |
| HSL | hsl(60, 49%, 85%) |
| CMYK | cmyk(0%, 0%, 16%, 8%) |
| LAB | lab(92.5 -6.1 18.0) |
| LCH | lch(92.5 19.0 108.6) |
| OKLCH | oklch(0.934 0.049 107.3) |
Copy-ready code
/* CSS */
color: #ececc7;
background-color: #ececc7;
/* Tailwind (arbitrary) */
class="text-[#ececc7] bg-[#ececc7]"
/* SCSS */
$brand: #ececc7;
/* SwiftUI */
Color(red: 0.925, green: 0.925, blue: 0.780)
/* Android */
Color.parseColor("#ececc7")Accessibility — WCAG contrast
Aa
#ececc7 on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ececc7 on black: 17.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.5%
Blue78.0%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow15.7%
Key (black)7.5%
Color previews
#ececc7 text on a black background
contrast 17.39:1
Card sample
#ececc7 text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ececc7;
Background color
Panel with #ececc7 background
background-color: #ececc7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ececc7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 236, 199, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 199, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ececc7; background: linear-gradient(135deg, #ececc7, #D3ECC7);