#ccdf0f
a balanced, electric yellow · cool · closest name: yellow
RGB
204, 223, 15
HSL
66°, 87%, 47%
CMYK
9, 0, 93, 13
Luminance
0.6565
Every format
| HEX | #ccdf0f |
| RGB | rgb(204, 223, 15) |
| HSL | hsl(66, 87%, 47%) |
| CMYK | cmyk(9%, 0%, 93%, 13%) |
| LAB | lab(84.8 -27.3 82.3) |
| LCH | lch(84.8 86.7 108.3) |
| OKLCH | oklch(0.860 0.194 115.9) |
Copy-ready code
/* CSS */
color: #ccdf0f;
background-color: #ccdf0f;
/* Tailwind (arbitrary) */
class="text-[#ccdf0f] bg-[#ccdf0f]"
/* SCSS */
$brand: #ccdf0f;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.059)
/* Android */
Color.parseColor("#ccdf0f")Accessibility — WCAG contrast
Aa
#ccdf0f on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf0f on black: 14.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue5.9%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow93.3%
Key (black)12.5%
Color previews
#ccdf0f text on a black background
contrast 14.13:1
Card sample
#ccdf0f text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf0f;
Background color
Panel with #ccdf0f background
background-color: #ccdf0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf0f; background: linear-gradient(135deg, #ccdf0f, #41DF0F);