#eee28c
a light, vivid yellow · cool · “khaki”
RGB
238, 226, 140
HSL
53°, 74%, 74%
CMYK
0, 5, 41, 7
Luminance
0.7446
Every format
| HEX | #eee28c |
| RGB | rgb(238, 226, 140) |
| HSL | hsl(53, 74%, 74%) |
| CMYK | cmyk(0%, 5%, 41%, 7%) |
| LAB | lab(89.1 -7.8 43.5) |
| LCH | lch(89.1 44.1 100.2) |
| OKLCH | oklch(0.904 0.108 101.4) |
Copy-ready code
/* CSS */
color: #eee28c;
background-color: #eee28c;
/* Tailwind (arbitrary) */
class="text-[#eee28c] bg-[#eee28c]"
/* SCSS */
$brand: #eee28c;
/* SwiftUI */
Color(red: 0.933, green: 0.886, blue: 0.549)
/* Android */
Color.parseColor("#eee28c")Accessibility — WCAG contrast
Aa
#eee28c on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eee28c on black: 15.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green88.6%
Blue54.9%
CMYK percentages
Cyan0.0%
Magenta5.0%
Yellow41.2%
Key (black)6.7%
Color previews
#eee28c text on a black background
contrast 15.89:1
Card sample
#eee28c text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eee28c;
Background color
Panel with #eee28c background
background-color: #eee28c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eee28c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 226, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 226, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eee28c; background: linear-gradient(135deg, #eee28c, #B9EE8C);