#dcdf26
a balanced, vivid yellow · cool · closest name: yellow
RGB
220, 223, 38
HSL
61°, 74%, 51%
CMYK
1, 0, 83, 13
Luminance
0.6813
Every format
| HEX | #dcdf26 |
| RGB | rgb(220, 223, 38) |
| HSL | hsl(61, 74%, 51%) |
| CMYK | cmyk(1%, 0%, 83%, 13%) |
| LAB | lab(86.1 -20.2 80.0) |
| LCH | lch(86.1 82.5 104.1) |
| OKLCH | oklch(0.873 0.184 110.7) |
Copy-ready code
/* CSS */
color: #dcdf26;
background-color: #dcdf26;
/* Tailwind (arbitrary) */
class="text-[#dcdf26] bg-[#dcdf26]"
/* SCSS */
$brand: #dcdf26;
/* SwiftUI */
Color(red: 0.863, green: 0.875, blue: 0.149)
/* Android */
Color.parseColor("#dcdf26")Accessibility — WCAG contrast
Aa
#dcdf26 on white: 1.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dcdf26 on black: 14.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.3%
Green87.5%
Blue14.9%
CMYK percentages
Cyan1.3%
Magenta0.0%
Yellow83.0%
Key (black)12.5%
Color previews
#dcdf26 text on a black background
contrast 14.63:1
Card sample
#dcdf26 text on a white background
contrast 1.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dcdf26;
Background color
Panel with #dcdf26 background
background-color: #dcdf26;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dcdf26;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(220, 223, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 223, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdf26; background: linear-gradient(135deg, #dcdf26, #61DF26);