#afd098
a light, soft green · cool · closest name: khaki
RGB
175, 208, 152
HSL
95°, 37%, 71%
CMYK
16, 0, 27, 18
Luminance
0.5649
Every format
| HEX | #afd098 |
| RGB | rgb(175, 208, 152) |
| HSL | hsl(95, 37%, 71%) |
| CMYK | cmyk(16%, 0%, 27%, 18%) |
| LAB | lab(79.9 -21.1 24.3) |
| LCH | lch(79.9 32.1 130.9) |
| OKLCH | oklch(0.819 0.084 132.8) |
Copy-ready code
/* CSS */
color: #afd098;
background-color: #afd098;
/* Tailwind (arbitrary) */
class="text-[#afd098] bg-[#afd098]"
/* SCSS */
$brand: #afd098;
/* SwiftUI */
Color(red: 0.686, green: 0.816, blue: 0.596)
/* Android */
Color.parseColor("#afd098")Accessibility — WCAG contrast
Aa
#afd098 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd098 on black: 12.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green81.6%
Blue59.6%
CMYK percentages
Cyan15.9%
Magenta0.0%
Yellow26.9%
Key (black)18.4%
Color previews
#afd098 text on a black background
contrast 12.30:1
Card sample
#afd098 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd098;
Background color
Panel with #afd098 background
background-color: #afd098;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd098;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 208, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd098; background: linear-gradient(135deg, #afd098, #98D0A6);