#c2ab78
a balanced, soft yellow · warm · closest name: tan
RGB
194, 171, 120
HSL
41°, 38%, 62%
CMYK
0, 12, 38, 24
Luminance
0.4195
Every format
| HEX | #c2ab78 |
| RGB | rgb(194, 171, 120) |
| HSL | hsl(41, 38%, 62%) |
| CMYK | cmyk(0%, 12%, 38%, 24%) |
| LAB | lab(70.8 1.0 29.3) |
| LCH | lch(70.8 29.4 88.0) |
| OKLCH | oklch(0.749 0.073 86.4) |
Copy-ready code
/* CSS */
color: #c2ab78;
background-color: #c2ab78;
/* Tailwind (arbitrary) */
class="text-[#c2ab78] bg-[#c2ab78]"
/* SCSS */
$brand: #c2ab78;
/* SwiftUI */
Color(red: 0.761, green: 0.671, blue: 0.471)
/* Android */
Color.parseColor("#c2ab78")Accessibility — WCAG contrast
Aa
#c2ab78 on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2ab78 on black: 9.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green67.1%
Blue47.1%
CMYK percentages
Cyan0.0%
Magenta11.9%
Yellow38.1%
Key (black)23.9%
Color previews
#c2ab78 text on a black background
contrast 9.39:1
Card sample
#c2ab78 text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2ab78;
Background color
Panel with #c2ab78 background
background-color: #c2ab78;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2ab78;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 171, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 171, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ab78; background: linear-gradient(135deg, #c2ab78, #A8C278);