#afcc89
a light, soft green · cool · closest name: khaki
RGB
175, 204, 137
HSL
86°, 40%, 67%
CMYK
14, 0, 33, 20
Luminance
0.5411
Every format
| HEX | #afcc89 |
| RGB | rgb(175, 204, 137) |
| HSL | hsl(86, 40%, 67%) |
| CMYK | cmyk(14%, 0%, 33%, 20%) |
| LAB | lab(78.5 -21.3 30.3) |
| LCH | lch(78.5 37.0 125.1) |
| OKLCH | oklch(0.807 0.095 127.4) |
Copy-ready code
/* CSS */
color: #afcc89;
background-color: #afcc89;
/* Tailwind (arbitrary) */
class="text-[#afcc89] bg-[#afcc89]"
/* SCSS */
$brand: #afcc89;
/* SwiftUI */
Color(red: 0.686, green: 0.800, blue: 0.537)
/* Android */
Color.parseColor("#afcc89")Accessibility — WCAG contrast
Aa
#afcc89 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afcc89 on black: 11.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green80.0%
Blue53.7%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow32.8%
Key (black)20.0%
Color previews
#afcc89 text on a black background
contrast 11.82:1
Card sample
#afcc89 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afcc89;
Background color
Panel with #afcc89 background
background-color: #afcc89;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afcc89;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 204, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc89; background: linear-gradient(135deg, #afcc89, #89CC90);