#c7ab49
a balanced, vivid yellow · cool · closest name: olive
RGB
199, 171, 73
HSL
47°, 53%, 53%
CMYK
0, 14, 63, 22
Luminance
0.4175
Every format
| HEX | #c7ab49 |
| RGB | rgb(199, 171, 73) |
| HSL | hsl(47, 53%, 53%) |
| CMYK | cmyk(0%, 14%, 63%, 22%) |
| LAB | lab(70.7 -1.1 52.8) |
| LCH | lch(70.7 52.8 91.2) |
| OKLCH | oklch(0.747 0.121 93.3) |
Copy-ready code
/* CSS */
color: #c7ab49;
background-color: #c7ab49;
/* Tailwind (arbitrary) */
class="text-[#c7ab49] bg-[#c7ab49]"
/* SCSS */
$brand: #c7ab49;
/* SwiftUI */
Color(red: 0.780, green: 0.671, blue: 0.286)
/* Android */
Color.parseColor("#c7ab49")Accessibility — WCAG contrast
Aa
#c7ab49 on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7ab49 on black: 9.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green67.1%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta14.1%
Yellow63.3%
Key (black)22.0%
Color previews
#c7ab49 text on a black background
contrast 9.35:1
Card sample
#c7ab49 text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7ab49;
Background color
Panel with #c7ab49 background
background-color: #c7ab49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7ab49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 171, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 171, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7ab49; background: linear-gradient(135deg, #c7ab49, #8FC749);