#afd095
a light, soft green · cool · closest name: khaki
RGB
175, 208, 149
HSL
94°, 39%, 70%
CMYK
16, 0, 28, 18
Luminance
0.5640
Every format
| HEX | #afd095 |
| RGB | rgb(175, 208, 149) |
| HSL | hsl(94, 39%, 70%) |
| CMYK | cmyk(16%, 0%, 28%, 18%) |
| LAB | lab(79.8 -21.5 25.8) |
| LCH | lch(79.8 33.6 129.8) |
| OKLCH | oklch(0.819 0.087 131.8) |
Copy-ready code
/* CSS */
color: #afd095;
background-color: #afd095;
/* Tailwind (arbitrary) */
class="text-[#afd095] bg-[#afd095]"
/* SCSS */
$brand: #afd095;
/* SwiftUI */
Color(red: 0.686, green: 0.816, blue: 0.584)
/* Android */
Color.parseColor("#afd095")Accessibility — WCAG contrast
Aa
#afd095 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd095 on black: 12.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green81.6%
Blue58.4%
CMYK percentages
Cyan15.9%
Magenta0.0%
Yellow28.4%
Key (black)18.4%
Color previews
#afd095 text on a black background
contrast 12.28:1
Card sample
#afd095 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd095;
Background color
Panel with #afd095 background
background-color: #afd095;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd095;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 208, 149, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 149, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd095; background: linear-gradient(135deg, #afd095, #95D0A2);