#dcdf30
a balanced, vivid yellow · cool · closest name: yellow
RGB
220, 223, 48
HSL
61°, 73%, 53%
CMYK
1, 0, 79, 13
Luminance
0.6820
Every format
| HEX | #dcdf30 |
| RGB | rgb(220, 223, 48) |
| HSL | hsl(61, 73%, 53%) |
| CMYK | cmyk(1%, 0%, 79%, 13%) |
| LAB | lab(86.1 -19.9 77.6) |
| LCH | lch(86.1 80.1 104.4) |
| OKLCH | oklch(0.873 0.180 110.6) |
Copy-ready code
/* CSS */
color: #dcdf30;
background-color: #dcdf30;
/* Tailwind (arbitrary) */
class="text-[#dcdf30] bg-[#dcdf30]"
/* SCSS */
$brand: #dcdf30;
/* SwiftUI */
Color(red: 0.863, green: 0.875, blue: 0.188)
/* Android */
Color.parseColor("#dcdf30")Accessibility — WCAG contrast
Aa
#dcdf30 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dcdf30 on black: 14.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.3%
Green87.5%
Blue18.8%
CMYK percentages
Cyan1.3%
Magenta0.0%
Yellow78.5%
Key (black)12.5%
Color previews
#dcdf30 text on a black background
contrast 14.64:1
Card sample
#dcdf30 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dcdf30;
Background color
Panel with #dcdf30 background
background-color: #dcdf30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dcdf30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(220, 223, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 223, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdf30; background: linear-gradient(135deg, #dcdf30, #67DF30);