#eee498
a light, vivid yellow · cool · closest name: khaki
RGB
238, 228, 152
HSL
53°, 72%, 77%
CMYK
0, 4, 36, 7
Luminance
0.7593
Every format
| HEX | #eee498 |
| RGB | rgb(238, 228, 152) |
| HSL | hsl(53, 72%, 77%) |
| CMYK | cmyk(0%, 4%, 36%, 7%) |
| LAB | lab(89.8 -7.5 38.4) |
| LCH | lch(89.8 39.1 101.1) |
| OKLCH | oklch(0.910 0.097 101.7) |
Copy-ready code
/* CSS */
color: #eee498;
background-color: #eee498;
/* Tailwind (arbitrary) */
class="text-[#eee498] bg-[#eee498]"
/* SCSS */
$brand: #eee498;
/* SwiftUI */
Color(red: 0.933, green: 0.894, blue: 0.596)
/* Android */
Color.parseColor("#eee498")Accessibility — WCAG contrast
Aa
#eee498 on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eee498 on black: 16.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green89.4%
Blue59.6%
CMYK percentages
Cyan0.0%
Magenta4.2%
Yellow36.1%
Key (black)6.7%
Color previews
#eee498 text on a black background
contrast 16.19:1
Card sample
#eee498 text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eee498;
Background color
Panel with #eee498 background
background-color: #eee498;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eee498;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 228, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 228, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eee498; background: linear-gradient(135deg, #eee498, #BFEE98);