#cdf01a
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 240, 26
HSL
70°, 88%, 52%
CMYK
15, 0, 89, 6
Luminance
0.7537
Every format
| HEX | #cdf01a |
| RGB | rgb(205, 240, 26) |
| HSL | hsl(70, 88%, 52%) |
| CMYK | cmyk(15%, 0%, 89%, 6%) |
| LAB | lab(89.6 -34.6 84.7) |
| LCH | lch(89.6 91.5 112.2) |
| OKLCH | oklch(0.898 0.209 119.9) |
Copy-ready code
/* CSS */
color: #cdf01a;
background-color: #cdf01a;
/* Tailwind (arbitrary) */
class="text-[#cdf01a] bg-[#cdf01a]"
/* SCSS */
$brand: #cdf01a;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.102)
/* Android */
Color.parseColor("#cdf01a")Accessibility — WCAG contrast
Aa
#cdf01a on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf01a on black: 16.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue10.2%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow89.2%
Key (black)5.9%
Color previews
#cdf01a text on a black background
contrast 16.07:1
Card sample
#cdf01a text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf01a;
Background color
Panel with #cdf01a background
background-color: #cdf01a;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf01a;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 26, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 26, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf01a; background: linear-gradient(135deg, #cdf01a, #3FF01A);