#cdc80f
a dark, electric yellow · cool · closest name: gold
RGB
205, 200, 15
HSL
58°, 86%, 43%
CMYK
0, 2, 93, 20
Luminance
0.5432
Every format
| HEX | #cdc80f |
| RGB | rgb(205, 200, 15) |
| HSL | hsl(58, 86%, 43%) |
| CMYK | cmyk(0%, 2%, 93%, 20%) |
| LAB | lab(78.7 -15.6 77.7) |
| LCH | lch(78.7 79.2 101.4) |
| OKLCH | oklch(0.811 0.172 107.9) |
Copy-ready code
/* CSS */
color: #cdc80f;
background-color: #cdc80f;
/* Tailwind (arbitrary) */
class="text-[#cdc80f] bg-[#cdc80f]"
/* SCSS */
$brand: #cdc80f;
/* SwiftUI */
Color(red: 0.804, green: 0.784, blue: 0.059)
/* Android */
Color.parseColor("#cdc80f")Accessibility — WCAG contrast
Aa
#cdc80f on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdc80f on black: 11.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green78.4%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow92.7%
Key (black)19.6%
Color previews
#cdc80f text on a black background
contrast 11.86:1
Card sample
#cdc80f text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdc80f;
Background color
Panel with #cdc80f background
background-color: #cdc80f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdc80f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 200, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 200, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdc80f; background: linear-gradient(135deg, #cdc80f, #53CD0F);