#edfc21
a balanced, electric yellow · cool · closest name: yellow
RGB
237, 252, 33
HSL
64°, 97%, 56%
CMYK
6, 0, 87, 1
Luminance
0.8774
Every format
| HEX | #edfc21 |
| RGB | rgb(237, 252, 33) |
| HSL | hsl(64, 97%, 56%) |
| CMYK | cmyk(6%, 0%, 87%, 1%) |
| LAB | lab(95.0 -27.1 88.9) |
| LCH | lch(95.0 92.9 107.0) |
| OKLCH | oklch(0.948 0.208 114.1) |
Copy-ready code
/* CSS */
color: #edfc21;
background-color: #edfc21;
/* Tailwind (arbitrary) */
class="text-[#edfc21] bg-[#edfc21]"
/* SCSS */
$brand: #edfc21;
/* SwiftUI */
Color(red: 0.929, green: 0.988, blue: 0.129)
/* Android */
Color.parseColor("#edfc21")Accessibility — WCAG contrast
Aa
#edfc21 on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#edfc21 on black: 18.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.9%
Green98.8%
Blue12.9%
CMYK percentages
Cyan6.0%
Magenta0.0%
Yellow86.9%
Key (black)1.2%
Color previews
#edfc21 text on a black background
contrast 18.55:1
Card sample
#edfc21 text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #edfc21;
Background color
Panel with #edfc21 background
background-color: #edfc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #edfc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(237, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #edfc21; background: linear-gradient(135deg, #edfc21, #5BFC21);