#cbba3b
a balanced, vivid yellow · cool · closest name: khaki
RGB
203, 186, 59
HSL
53°, 58%, 51%
CMYK
0, 8, 71, 20
Luminance
0.4813
Every format
| HEX | #cbba3b |
| RGB | rgb(203, 186, 59) |
| HSL | hsl(53, 58%, 51%) |
| CMYK | cmyk(0%, 8%, 71%, 20%) |
| LAB | lab(74.9 -8.1 63.1) |
| LCH | lch(74.9 63.6 97.3) |
| OKLCH | oklch(0.781 0.143 101.5) |
Copy-ready code
/* CSS */
color: #cbba3b;
background-color: #cbba3b;
/* Tailwind (arbitrary) */
class="text-[#cbba3b] bg-[#cbba3b]"
/* SCSS */
$brand: #cbba3b;
/* SwiftUI */
Color(red: 0.796, green: 0.729, blue: 0.231)
/* Android */
Color.parseColor("#cbba3b")Accessibility — WCAG contrast
Aa
#cbba3b on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbba3b on black: 10.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green72.9%
Blue23.1%
CMYK percentages
Cyan0.0%
Magenta8.4%
Yellow70.9%
Key (black)20.4%
Color previews
#cbba3b text on a black background
contrast 10.63:1
Card sample
#cbba3b text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbba3b;
Background color
Panel with #cbba3b background
background-color: #cbba3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbba3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 186, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbba3b; background: linear-gradient(135deg, #cbba3b, #7CCB3B);