#af9c49
a balanced, soft yellow · cool · closest name: olive
RGB
175, 156, 73
HSL
49°, 41%, 49%
CMYK
0, 11, 58, 31
Luminance
0.3337
Every format
| HEX | #af9c49 |
| RGB | rgb(175, 156, 73) |
| HSL | hsl(49, 41%, 49%) |
| CMYK | cmyk(0%, 11%, 58%, 31%) |
| LAB | lab(64.5 -3.5 45.2) |
| LCH | lch(64.5 45.4 94.4) |
| OKLCH | oklch(0.693 0.106 96.6) |
Copy-ready code
/* CSS */
color: #af9c49;
background-color: #af9c49;
/* Tailwind (arbitrary) */
class="text-[#af9c49] bg-[#af9c49]"
/* SCSS */
$brand: #af9c49;
/* SwiftUI */
Color(red: 0.686, green: 0.612, blue: 0.286)
/* Android */
Color.parseColor("#af9c49")Accessibility — WCAG contrast
Aa
#af9c49 on white: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af9c49 on black: 7.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green61.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta10.9%
Yellow58.3%
Key (black)31.4%
Color previews
#af9c49 text on a black background
contrast 7.67:1
Card sample
#af9c49 text on a white background
contrast 2.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af9c49;
Background color
Panel with #af9c49 background
background-color: #af9c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af9c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 156, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 156, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9c49; background: linear-gradient(135deg, #af9c49, #7EAF49);