#afab89
a balanced, soft yellow · cool · closest name: tan
RGB
175, 171, 137
HSL
54°, 19%, 61%
CMYK
0, 2, 22, 31
Luminance
0.4005
Every format
| HEX | #afab89 |
| RGB | rgb(175, 171, 137) |
| HSL | hsl(54, 19%, 61%) |
| CMYK | cmyk(0%, 2%, 22%, 31%) |
| LAB | lab(69.5 -4.3 18.1) |
| LCH | lch(69.5 18.6 103.3) |
| OKLCH | oklch(0.736 0.047 101.9) |
Copy-ready code
/* CSS */
color: #afab89;
background-color: #afab89;
/* Tailwind (arbitrary) */
class="text-[#afab89] bg-[#afab89]"
/* SCSS */
$brand: #afab89;
/* SwiftUI */
Color(red: 0.686, green: 0.671, blue: 0.537)
/* Android */
Color.parseColor("#afab89")Accessibility — WCAG contrast
Aa
#afab89 on white: 2.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afab89 on black: 9.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green67.1%
Blue53.7%
CMYK percentages
Cyan0.0%
Magenta2.3%
Yellow21.7%
Key (black)31.4%
Color previews
#afab89 text on a black background
contrast 9.01:1
Card sample
#afab89 text on a white background
contrast 2.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afab89;
Background color
Panel with #afab89 background
background-color: #afab89;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afab89;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 171, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 171, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afab89; background: linear-gradient(135deg, #afab89, #9AAF89);