#cdcf20
a balanced, vivid yellow · cool · closest name: gold
RGB
205, 207, 32
HSL
61°, 73%, 47%
CMYK
1, 0, 85, 19
Luminance
0.5771
Every format
| HEX | #cdcf20 |
| RGB | rgb(205, 207, 32) |
| HSL | hsl(61, 73%, 47%) |
| CMYK | cmyk(1%, 0%, 85%, 19%) |
| LAB | lab(80.6 -18.8 76.3) |
| LCH | lch(80.6 78.6 103.8) |
| OKLCH | oklch(0.826 0.174 110.4) |
Copy-ready code
/* CSS */
color: #cdcf20;
background-color: #cdcf20;
/* Tailwind (arbitrary) */
class="text-[#cdcf20] bg-[#cdcf20]"
/* SCSS */
$brand: #cdcf20;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.125)
/* Android */
Color.parseColor("#cdcf20")Accessibility — WCAG contrast
Aa
#cdcf20 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcf20 on black: 12.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.2%
Blue12.5%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow84.5%
Key (black)18.8%
Color previews
#cdcf20 text on a black background
contrast 12.54:1
Card sample
#cdcf20 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcf20;
Background color
Panel with #cdcf20 background
background-color: #cdcf20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcf20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 207, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf20; background: linear-gradient(135deg, #cdcf20, #58CF20);