#cbb821
a balanced, vivid yellow · cool · closest name: gold
RGB
203, 184, 33
HSL
53°, 72%, 46%
CMYK
0, 9, 84, 20
Luminance
0.4709
Every format
| HEX | #cbb821 |
| RGB | rgb(203, 184, 33) |
| HSL | hsl(53, 72%, 46%) |
| CMYK | cmyk(0%, 9%, 84%, 20%) |
| LAB | lab(74.3 -8.0 70.8) |
| LCH | lch(74.3 71.2 96.5) |
| OKLCH | oklch(0.775 0.155 101.4) |
Copy-ready code
/* CSS */
color: #cbb821;
background-color: #cbb821;
/* Tailwind (arbitrary) */
class="text-[#cbb821] bg-[#cbb821]"
/* SCSS */
$brand: #cbb821;
/* SwiftUI */
Color(red: 0.796, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#cbb821")Accessibility — WCAG contrast
Aa
#cbb821 on white: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbb821 on black: 10.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green72.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta9.4%
Yellow83.7%
Key (black)20.4%
Color previews
#cbb821 text on a black background
contrast 10.42:1
Card sample
#cbb821 text on a white background
contrast 2.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbb821;
Background color
Panel with #cbb821 background
background-color: #cbb821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbb821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbb821; background: linear-gradient(135deg, #cbb821, #6DCB21);