#ebee21
a balanced, electric yellow · cool · closest name: yellow
RGB
235, 238, 33
HSL
61°, 86%, 53%
CMYK
1, 0, 86, 7
Luminance
0.7892
Every format
| HEX | #ebee21 |
| RGB | rgb(235, 238, 33) |
| HSL | hsl(61, 86%, 53%) |
| CMYK | cmyk(1%, 0%, 86%, 7%) |
| LAB | lab(91.2 -21.3 85.7) |
| LCH | lch(91.2 88.3 104.0) |
| OKLCH | oklch(0.917 0.196 110.6) |
Copy-ready code
/* CSS */
color: #ebee21;
background-color: #ebee21;
/* Tailwind (arbitrary) */
class="text-[#ebee21] bg-[#ebee21]"
/* SCSS */
$brand: #ebee21;
/* SwiftUI */
Color(red: 0.922, green: 0.933, blue: 0.129)
/* Android */
Color.parseColor("#ebee21")Accessibility — WCAG contrast
Aa
#ebee21 on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebee21 on black: 16.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green93.3%
Blue12.9%
CMYK percentages
Cyan1.3%
Magenta0.0%
Yellow86.1%
Key (black)6.7%
Color previews
#ebee21 text on a black background
contrast 16.78:1
Card sample
#ebee21 text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebee21;
Background color
Panel with #ebee21 background
background-color: #ebee21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebee21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 238, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 238, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebee21; background: linear-gradient(135deg, #ebee21, #62EE21);