#ccdf39
a balanced, vivid yellow · cool · closest name: yellow
RGB
204, 223, 57
HSL
67°, 72%, 55%
CMYK
9, 0, 74, 13
Luminance
0.6591
Every format
| HEX | #ccdf39 |
| RGB | rgb(204, 223, 57) |
| HSL | hsl(67, 72%, 55%) |
| CMYK | cmyk(9%, 0%, 74%, 13%) |
| LAB | lab(85.0 -26.1 73.5) |
| LCH | lch(85.0 78.0 109.6) |
| OKLCH | oklch(0.861 0.180 116.1) |
Copy-ready code
/* CSS */
color: #ccdf39;
background-color: #ccdf39;
/* Tailwind (arbitrary) */
class="text-[#ccdf39] bg-[#ccdf39]"
/* SCSS */
$brand: #ccdf39;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.224)
/* Android */
Color.parseColor("#ccdf39")Accessibility — WCAG contrast
Aa
#ccdf39 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf39 on black: 14.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue22.4%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow74.4%
Key (black)12.5%
Color previews
#ccdf39 text on a black background
contrast 14.18:1
Card sample
#ccdf39 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf39;
Background color
Panel with #ccdf39 background
background-color: #ccdf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf39; background: linear-gradient(135deg, #ccdf39, #5DDF39);