#ebdf98
a light, vivid yellow · cool · closest name: khaki
RGB
235, 223, 152
HSL
51°, 68%, 76%
CMYK
0, 5, 35, 8
Luminance
0.7270
Every format
| HEX | #ebdf98 |
| RGB | rgb(235, 223, 152) |
| HSL | hsl(51, 68%, 76%) |
| CMYK | cmyk(0%, 5%, 35%, 8%) |
| LAB | lab(88.3 -6.1 36.3) |
| LCH | lch(88.3 36.8 99.6) |
| OKLCH | oklch(0.897 0.091 99.8) |
Copy-ready code
/* CSS */
color: #ebdf98;
background-color: #ebdf98;
/* Tailwind (arbitrary) */
class="text-[#ebdf98] bg-[#ebdf98]"
/* SCSS */
$brand: #ebdf98;
/* SwiftUI */
Color(red: 0.922, green: 0.875, blue: 0.596)
/* Android */
Color.parseColor("#ebdf98")Accessibility — WCAG contrast
Aa
#ebdf98 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebdf98 on black: 15.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green87.5%
Blue59.6%
CMYK percentages
Cyan0.0%
Magenta5.1%
Yellow35.3%
Key (black)7.8%
Color previews
#ebdf98 text on a black background
contrast 15.54:1
Card sample
#ebdf98 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebdf98;
Background color
Panel with #ebdf98 background
background-color: #ebdf98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebdf98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 223, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf98; background: linear-gradient(135deg, #ebdf98, #C0EB98);