#cdef21
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 239, 33
HSL
70°, 87%, 53%
CMYK
14, 0, 86, 6
Luminance
0.7482
Every format
| HEX | #cdef21 |
| RGB | rgb(205, 239, 33) |
| HSL | hsl(70, 87%, 53%) |
| CMYK | cmyk(14%, 0%, 86%, 6%) |
| LAB | lab(89.3 -34.0 83.3) |
| LCH | lch(89.3 90.0 112.2) |
| OKLCH | oklch(0.896 0.206 119.8) |
Copy-ready code
/* CSS */
color: #cdef21;
background-color: #cdef21;
/* Tailwind (arbitrary) */
class="text-[#cdef21] bg-[#cdef21]"
/* SCSS */
$brand: #cdef21;
/* SwiftUI */
Color(red: 0.804, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#cdef21")Accessibility — WCAG contrast
Aa
#cdef21 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdef21 on black: 15.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green93.7%
Blue12.9%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#cdef21 text on a black background
contrast 15.96:1
Card sample
#cdef21 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdef21;
Background color
Panel with #cdef21 background
background-color: #cdef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdef21; background: linear-gradient(135deg, #cdef21, #44EF21);