#cbaf3d
a balanced, vivid yellow · cool · closest name: olive
RGB
203, 175, 61
HSL
48°, 58%, 52%
CMYK
0, 14, 70, 20
Luminance
0.4369
Every format
| HEX | #cbaf3d |
| RGB | rgb(203, 175, 61) |
| HSL | hsl(48, 58%, 52%) |
| CMYK | cmyk(0%, 14%, 70%, 20%) |
| LAB | lab(72.0 -2.2 59.5) |
| LCH | lch(72.0 59.5 92.1) |
| OKLCH | oklch(0.758 0.133 95.0) |
Copy-ready code
/* CSS */
color: #cbaf3d;
background-color: #cbaf3d;
/* Tailwind (arbitrary) */
class="text-[#cbaf3d] bg-[#cbaf3d]"
/* SCSS */
$brand: #cbaf3d;
/* SwiftUI */
Color(red: 0.796, green: 0.686, blue: 0.239)
/* Android */
Color.parseColor("#cbaf3d")Accessibility — WCAG contrast
Aa
#cbaf3d on white: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbaf3d on black: 9.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green68.6%
Blue23.9%
CMYK percentages
Cyan0.0%
Magenta13.8%
Yellow70.0%
Key (black)20.4%
Color previews
#cbaf3d text on a black background
contrast 9.74:1
Card sample
#cbaf3d text on a white background
contrast 2.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbaf3d;
Background color
Panel with #cbaf3d background
background-color: #cbaf3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbaf3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 175, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbaf3d; background: linear-gradient(135deg, #cbaf3d, #88CB3D);