#cdb01f
a balanced, vivid yellow · cool · closest name: gold
RGB
205, 176, 31
HSL
50°, 74%, 46%
CMYK
0, 14, 85, 20
Luminance
0.4413
Every format
| HEX | #cdb01f |
| RGB | rgb(205, 176, 31) |
| HSL | hsl(50, 74%, 46%) |
| CMYK | cmyk(0%, 14%, 85%, 20%) |
| LAB | lab(72.3 -3.0 69.7) |
| LCH | lch(72.3 69.8 92.5) |
| OKLCH | oklch(0.760 0.150 96.5) |
Copy-ready code
/* CSS */
color: #cdb01f;
background-color: #cdb01f;
/* Tailwind (arbitrary) */
class="text-[#cdb01f] bg-[#cdb01f]"
/* SCSS */
$brand: #cdb01f;
/* SwiftUI */
Color(red: 0.804, green: 0.690, blue: 0.122)
/* Android */
Color.parseColor("#cdb01f")Accessibility — WCAG contrast
Aa
#cdb01f on white: 2.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdb01f on black: 9.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green69.0%
Blue12.2%
CMYK percentages
Cyan0.0%
Magenta14.1%
Yellow84.9%
Key (black)19.6%
Color previews
#cdb01f text on a black background
contrast 9.83:1
Card sample
#cdb01f text on a white background
contrast 2.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdb01f;
Background color
Panel with #cdb01f background
background-color: #cdb01f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdb01f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 176, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 176, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdb01f; background: linear-gradient(135deg, #cdb01f, #76CD1F);