#cdf008
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 240, 8
HSL
69°, 94%, 49%
CMYK
15, 0, 97, 6
Luminance
0.7532
Every format
| HEX | #cdf008 |
| RGB | rgb(205, 240, 8) |
| HSL | hsl(69, 94%, 49%) |
| CMYK | cmyk(15%, 0%, 97%, 6%) |
| LAB | lab(89.5 -34.8 86.6) |
| LCH | lch(89.5 93.3 111.9) |
| OKLCH | oklch(0.898 0.212 119.8) |
Copy-ready code
/* CSS */
color: #cdf008;
background-color: #cdf008;
/* Tailwind (arbitrary) */
class="text-[#cdf008] bg-[#cdf008]"
/* SCSS */
$brand: #cdf008;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.031)
/* Android */
Color.parseColor("#cdf008")Accessibility — WCAG contrast
Aa
#cdf008 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf008 on black: 16.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue3.1%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow96.7%
Key (black)5.9%
Color previews
#cdf008 text on a black background
contrast 16.06:1
Card sample
#cdf008 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf008;
Background color
Panel with #cdf008 background
background-color: #cdf008;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf008;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf008; background: linear-gradient(135deg, #cdf008, #32F008);