#afb89c
a light, soft green · cool · closest name: silver
RGB
175, 184, 156
HSL
79°, 17%, 67%
CMYK
5, 0, 15, 28
Luminance
0.4580
Every format
| HEX | #afb89c |
| RGB | rgb(175, 184, 156) |
| HSL | hsl(79, 17%, 67%) |
| CMYK | cmyk(5%, 0%, 15%, 28%) |
| LAB | lab(73.4 -8.2 13.2) |
| LCH | lch(73.4 15.5 121.8) |
| OKLCH | oklch(0.768 0.040 121.8) |
Copy-ready code
/* CSS */
color: #afb89c;
background-color: #afb89c;
/* Tailwind (arbitrary) */
class="text-[#afb89c] bg-[#afb89c]"
/* SCSS */
$brand: #afb89c;
/* SwiftUI */
Color(red: 0.686, green: 0.722, blue: 0.612)
/* Android */
Color.parseColor("#afb89c")Accessibility — WCAG contrast
Aa
#afb89c on white: 2.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb89c on black: 10.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green72.2%
Blue61.2%
CMYK percentages
Cyan4.9%
Magenta0.0%
Yellow15.2%
Key (black)27.8%
Color previews
#afb89c text on a black background
contrast 10.16:1
Card sample
#afb89c text on a white background
contrast 2.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb89c;
Background color
Panel with #afb89c background
background-color: #afb89c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb89c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 184, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 184, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb89c; background: linear-gradient(135deg, #afb89c, #9CB89C);