#d0cb2f
a balanced, vivid yellow · cool · closest name: gold
RGB
208, 203, 47
HSL
58°, 63%, 50%
CMYK
0, 2, 77, 18
Luminance
0.5633
Every format
| HEX | #d0cb2f |
| RGB | rgb(208, 203, 47) |
| HSL | hsl(58, 63%, 50%) |
| CMYK | cmyk(0%, 2%, 77%, 18%) |
| LAB | lab(79.8 -15.1 71.9) |
| LCH | lch(79.8 73.5 101.8) |
| OKLCH | oklch(0.821 0.164 107.6) |
Copy-ready code
/* CSS */
color: #d0cb2f;
background-color: #d0cb2f;
/* Tailwind (arbitrary) */
class="text-[#d0cb2f] bg-[#d0cb2f]"
/* SCSS */
$brand: #d0cb2f;
/* SwiftUI */
Color(red: 0.816, green: 0.796, blue: 0.184)
/* Android */
Color.parseColor("#d0cb2f")Accessibility — WCAG contrast
Aa
#d0cb2f on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d0cb2f on black: 12.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.6%
Green79.6%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow77.4%
Key (black)18.4%
Color previews
#d0cb2f text on a black background
contrast 12.27:1
Card sample
#d0cb2f text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d0cb2f;
Background color
Panel with #d0cb2f background
background-color: #d0cb2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d0cb2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(208, 203, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 203, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0cb2f; background: linear-gradient(135deg, #d0cb2f, #6AD02F);