#cbba2d
a balanced, vivid yellow · cool · closest name: gold
RGB
203, 186, 45
HSL
54°, 64%, 49%
CMYK
0, 8, 78, 20
Luminance
0.4800
Every format
| HEX | #cbba2d |
| RGB | rgb(203, 186, 45) |
| HSL | hsl(54, 64%, 49%) |
| CMYK | cmyk(0%, 8%, 78%, 20%) |
| LAB | lab(74.8 -8.7 67.9) |
| LCH | lch(74.8 68.4 97.3) |
| OKLCH | oklch(0.780 0.151 102.1) |
Copy-ready code
/* CSS */
color: #cbba2d;
background-color: #cbba2d;
/* Tailwind (arbitrary) */
class="text-[#cbba2d] bg-[#cbba2d]"
/* SCSS */
$brand: #cbba2d;
/* SwiftUI */
Color(red: 0.796, green: 0.729, blue: 0.176)
/* Android */
Color.parseColor("#cbba2d")Accessibility — WCAG contrast
Aa
#cbba2d on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbba2d on black: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green72.9%
Blue17.6%
CMYK percentages
Cyan0.0%
Magenta8.4%
Yellow77.8%
Key (black)20.4%
Color previews
#cbba2d text on a black background
contrast 10.60:1
Card sample
#cbba2d text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbba2d;
Background color
Panel with #cbba2d background
background-color: #cbba2d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbba2d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 186, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbba2d; background: linear-gradient(135deg, #cbba2d, #73CB2D);