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