#ebee7c
a light, electric yellow · cool · closest name: khaki
RGB
235, 238, 124
HSL
62°, 77%, 71%
CMYK
1, 0, 48, 7
Luminance
0.8027
Every format
| HEX | #ebee7c |
| RGB | rgb(235, 238, 124) |
| HSL | hsl(62, 77%, 71%) |
| CMYK | cmyk(1%, 0%, 48%, 7%) |
| LAB | lab(91.8 -16.4 54.4) |
| LCH | lch(91.8 56.8 106.8) |
| OKLCH | oklch(0.924 0.137 110.2) |
Copy-ready code
/* CSS */
color: #ebee7c;
background-color: #ebee7c;
/* Tailwind (arbitrary) */
class="text-[#ebee7c] bg-[#ebee7c]"
/* SCSS */
$brand: #ebee7c;
/* SwiftUI */
Color(red: 0.922, green: 0.933, blue: 0.486)
/* Android */
Color.parseColor("#ebee7c")Accessibility — WCAG contrast
Aa
#ebee7c on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebee7c on black: 17.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green93.3%
Blue48.6%
CMYK percentages
Cyan1.3%
Magenta0.0%
Yellow47.9%
Key (black)6.7%
Color previews
#ebee7c text on a black background
contrast 17.05:1
Card sample
#ebee7c text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebee7c;
Background color
Panel with #ebee7c background
background-color: #ebee7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebee7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 238, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 238, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebee7c; background: linear-gradient(135deg, #ebee7c, #9FEE7C);