#cdbc1f
a balanced, vivid yellow · cool · closest name: gold
RGB
205, 188, 31
HSL
54°, 74%, 46%
CMYK
0, 8, 85, 20
Luminance
0.4904
Every format
| HEX | #cdbc1f |
| RGB | rgb(205, 188, 31) |
| HSL | hsl(54, 74%, 46%) |
| CMYK | cmyk(0%, 8%, 85%, 20%) |
| LAB | lab(75.5 -9.3 72.3) |
| LCH | lch(75.5 72.9 97.3) |
| OKLCH | oklch(0.785 0.158 102.5) |
Copy-ready code
/* CSS */
color: #cdbc1f;
background-color: #cdbc1f;
/* Tailwind (arbitrary) */
class="text-[#cdbc1f] bg-[#cdbc1f]"
/* SCSS */
$brand: #cdbc1f;
/* SwiftUI */
Color(red: 0.804, green: 0.737, blue: 0.122)
/* Android */
Color.parseColor("#cdbc1f")Accessibility — WCAG contrast
Aa
#cdbc1f on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdbc1f on black: 10.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green73.7%
Blue12.2%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow84.9%
Key (black)19.6%
Color previews
#cdbc1f text on a black background
contrast 10.81:1
Card sample
#cdbc1f text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdbc1f;
Background color
Panel with #cdbc1f background
background-color: #cdbc1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdbc1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 188, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 188, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdbc1f; background: linear-gradient(135deg, #cdbc1f, #6ACD1F);