#afb293
a balanced, soft yellow · cool · closest name: tan
RGB
175, 178, 147
HSL
66°, 17%, 64%
CMYK
2, 0, 17, 30
Luminance
0.4306
Every format
| HEX | #afb293 |
| RGB | rgb(175, 178, 147) |
| HSL | hsl(66, 17%, 64%) |
| CMYK | cmyk(2%, 0%, 17%, 30%) |
| LAB | lab(71.6 -6.5 15.5) |
| LCH | lch(71.6 16.8 112.6) |
| OKLCH | oklch(0.753 0.043 111.9) |
Copy-ready code
/* CSS */
color: #afb293;
background-color: #afb293;
/* Tailwind (arbitrary) */
class="text-[#afb293] bg-[#afb293]"
/* SCSS */
$brand: #afb293;
/* SwiftUI */
Color(red: 0.686, green: 0.698, blue: 0.576)
/* Android */
Color.parseColor("#afb293")Accessibility — WCAG contrast
Aa
#afb293 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb293 on black: 9.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green69.8%
Blue57.6%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow17.4%
Key (black)30.2%
Color previews
#afb293 text on a black background
contrast 9.61:1
Card sample
#afb293 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb293;
Background color
Panel with #afb293 background
background-color: #afb293;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb293;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 178, 147, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 178, 147, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb293; background: linear-gradient(135deg, #afb293, #9AB293);