#cdcf32
a balanced, vivid yellow · cool · closest name: gold
RGB
205, 207, 50
HSL
61°, 62%, 50%
CMYK
1, 0, 76, 19
Luminance
0.5784
Every format
| HEX | #cdcf32 |
| RGB | rgb(205, 207, 50) |
| HSL | hsl(61, 62%, 50%) |
| CMYK | cmyk(1%, 0%, 76%, 19%) |
| LAB | lab(80.7 -18.2 71.7) |
| LCH | lch(80.7 74.0 104.3) |
| OKLCH | oklch(0.827 0.167 110.3) |
Copy-ready code
/* CSS */
color: #cdcf32;
background-color: #cdcf32;
/* Tailwind (arbitrary) */
class="text-[#cdcf32] bg-[#cdcf32]"
/* SCSS */
$brand: #cdcf32;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.196)
/* Android */
Color.parseColor("#cdcf32")Accessibility — WCAG contrast
Aa
#cdcf32 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcf32 on black: 12.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.2%
Blue19.6%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow75.8%
Key (black)18.8%
Color previews
#cdcf32 text on a black background
contrast 12.57:1
Card sample
#cdcf32 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcf32;
Background color
Panel with #cdcf32 background
background-color: #cdcf32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcf32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 207, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf32; background: linear-gradient(135deg, #cdcf32, #64CF32);