#dfdf20
a balanced, vivid yellow · cool · closest name: yellow
RGB
223, 223, 32
HSL
60°, 75%, 50%
CMYK
0, 0, 86, 13
Luminance
0.6857
Every format
| HEX | #dfdf20 |
| RGB | rgb(223, 223, 32) |
| HSL | hsl(60, 75%, 50%) |
| CMYK | cmyk(0%, 0%, 86%, 13%) |
| LAB | lab(86.3 -19.1 81.6) |
| LCH | lch(86.3 83.8 103.2) |
| OKLCH | oklch(0.875 0.185 109.7) |
Copy-ready code
/* CSS */
color: #dfdf20;
background-color: #dfdf20;
/* Tailwind (arbitrary) */
class="text-[#dfdf20] bg-[#dfdf20]"
/* SCSS */
$brand: #dfdf20;
/* SwiftUI */
Color(red: 0.875, green: 0.875, blue: 0.125)
/* Android */
Color.parseColor("#dfdf20")Accessibility — WCAG contrast
Aa
#dfdf20 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfdf20 on black: 14.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green87.5%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow85.7%
Key (black)12.5%
Color previews
#dfdf20 text on a black background
contrast 14.71:1
Card sample
#dfdf20 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfdf20;
Background color
Panel with #dfdf20 background
background-color: #dfdf20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfdf20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 223, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 223, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdf20; background: linear-gradient(135deg, #dfdf20, #60DF20);