#cdf500
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 245, 0
HSL
70°, 100%, 48%
CMYK
16, 0, 100, 4
Luminance
0.7828
Every format
| HEX | #cdf500 |
| RGB | rgb(205, 245, 0) |
| HSL | hsl(70, 100%, 48%) |
| CMYK | cmyk(16%, 0%, 100%, 4%) |
| LAB | lab(90.9 -37.1 88.3) |
| LCH | lch(90.9 95.8 112.8) |
| OKLCH | oklch(0.909 0.218 120.9) |
Copy-ready code
/* CSS */
color: #cdf500;
background-color: #cdf500;
/* Tailwind (arbitrary) */
class="text-[#cdf500] bg-[#cdf500]"
/* SCSS */
$brand: #cdf500;
/* SwiftUI */
Color(red: 0.804, green: 0.961, blue: 0.000)
/* Android */
Color.parseColor("#cdf500")Accessibility — WCAG contrast
Aa
#cdf500 on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf500 on black: 16.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green96.1%
Blue0.0%
CMYK percentages
Cyan16.3%
Magenta0.0%
Yellow100.0%
Key (black)3.9%
Color previews
#cdf500 text on a black background
contrast 16.66:1
Card sample
#cdf500 text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf500;
Background color
Panel with #cdf500 background
background-color: #cdf500;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf500;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 245, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 245, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf500; background: linear-gradient(135deg, #cdf500, #2AF500);