#afcc98
a light, soft green · cool · closest name: tan
RGB
175, 204, 152
HSL
94°, 34%, 70%
CMYK
14, 0, 26, 20
Luminance
0.5457
Every format
| HEX | #afcc98 |
| RGB | rgb(175, 204, 152) |
| HSL | hsl(94, 34%, 70%) |
| CMYK | cmyk(14%, 0%, 26%, 20%) |
| LAB | lab(78.8 -19.1 22.8) |
| LCH | lch(78.8 29.7 129.9) |
| OKLCH | oklch(0.810 0.077 131.7) |
Copy-ready code
/* CSS */
color: #afcc98;
background-color: #afcc98;
/* Tailwind (arbitrary) */
class="text-[#afcc98] bg-[#afcc98]"
/* SCSS */
$brand: #afcc98;
/* SwiftUI */
Color(red: 0.686, green: 0.800, blue: 0.596)
/* Android */
Color.parseColor("#afcc98")Accessibility — WCAG contrast
Aa
#afcc98 on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afcc98 on black: 11.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green80.0%
Blue59.6%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow25.5%
Key (black)20.0%
Color previews
#afcc98 text on a black background
contrast 11.91:1
Card sample
#afcc98 text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afcc98;
Background color
Panel with #afcc98 background
background-color: #afcc98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afcc98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 204, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc98; background: linear-gradient(135deg, #afcc98, #98CCA4);