#af9c64
a balanced, soft yellow · warm · closest name: tan
RGB
175, 156, 100
HSL
45°, 32%, 54%
CMYK
0, 11, 43, 31
Luminance
0.3381
Every format
| HEX | #af9c64 |
| RGB | rgb(175, 156, 100) |
| HSL | hsl(45, 32%, 54%) |
| CMYK | cmyk(0%, 11%, 43%, 31%) |
| LAB | lab(64.8 -1.0 31.9) |
| LCH | lch(64.8 31.9 91.7) |
| OKLCH | oklch(0.696 0.078 91.4) |
Copy-ready code
/* CSS */
color: #af9c64;
background-color: #af9c64;
/* Tailwind (arbitrary) */
class="text-[#af9c64] bg-[#af9c64]"
/* SCSS */
$brand: #af9c64;
/* SwiftUI */
Color(red: 0.686, green: 0.612, blue: 0.392)
/* Android */
Color.parseColor("#af9c64")Accessibility — WCAG contrast
Aa
#af9c64 on white: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af9c64 on black: 7.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green61.2%
Blue39.2%
CMYK percentages
Cyan0.0%
Magenta10.9%
Yellow42.9%
Key (black)31.4%
Color previews
#af9c64 text on a black background
contrast 7.76:1
Card sample
#af9c64 text on a white background
contrast 2.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af9c64;
Background color
Panel with #af9c64 background
background-color: #af9c64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af9c64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 156, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 156, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9c64; background: linear-gradient(135deg, #af9c64, #90AF64);