#dccf21
a balanced, vivid yellow · cool · closest name: gold
RGB
220, 207, 33
HSL
56°, 74%, 50%
CMYK
0, 6, 85, 14
Luminance
0.5995
Every format
| HEX | #dccf21 |
| RGB | rgb(220, 207, 33) |
| HSL | hsl(56, 74%, 50%) |
| CMYK | cmyk(0%, 6%, 85%, 14%) |
| LAB | lab(81.8 -12.4 77.6) |
| LCH | lch(81.8 78.6 99.1) |
| OKLCH | oklch(0.839 0.172 104.7) |
Copy-ready code
/* CSS */
color: #dccf21;
background-color: #dccf21;
/* Tailwind (arbitrary) */
class="text-[#dccf21] bg-[#dccf21]"
/* SCSS */
$brand: #dccf21;
/* SwiftUI */
Color(red: 0.863, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#dccf21")Accessibility — WCAG contrast
Aa
#dccf21 on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dccf21 on black: 12.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.3%
Green81.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta5.9%
Yellow85.0%
Key (black)13.7%
Color previews
#dccf21 text on a black background
contrast 12.99:1
Card sample
#dccf21 text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dccf21;
Background color
Panel with #dccf21 background
background-color: #dccf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dccf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(220, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dccf21; background: linear-gradient(135deg, #dccf21, #6CDC21);