#cbaf64
a balanced, vivid yellow · warm · closest name: tan
RGB
203, 175, 100
HSL
44°, 50%, 59%
CMYK
0, 14, 51, 20
Luminance
0.4428
Every format
| HEX | #cbaf64 |
| RGB | rgb(203, 175, 100) |
| HSL | hsl(44, 50%, 59%) |
| CMYK | cmyk(0%, 14%, 51%, 20%) |
| LAB | lab(72.4 0.5 41.9) |
| LCH | lch(72.4 41.9 89.3) |
| OKLCH | oklch(0.762 0.100 89.5) |
Copy-ready code
/* CSS */
color: #cbaf64;
background-color: #cbaf64;
/* Tailwind (arbitrary) */
class="text-[#cbaf64] bg-[#cbaf64]"
/* SCSS */
$brand: #cbaf64;
/* SwiftUI */
Color(red: 0.796, green: 0.686, blue: 0.392)
/* Android */
Color.parseColor("#cbaf64")Accessibility — WCAG contrast
Aa
#cbaf64 on white: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbaf64 on black: 9.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green68.6%
Blue39.2%
CMYK percentages
Cyan0.0%
Magenta13.8%
Yellow50.7%
Key (black)20.4%
Color previews
#cbaf64 text on a black background
contrast 9.86:1
Card sample
#cbaf64 text on a white background
contrast 2.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbaf64;
Background color
Panel with #cbaf64 background
background-color: #cbaf64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbaf64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 175, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbaf64; background: linear-gradient(135deg, #cbaf64, #A2CB64);