#afd494
a light, soft green · cool · closest name: khaki
RGB
175, 212, 148
HSL
95°, 43%, 71%
CMYK
18, 0, 30, 17
Luminance
0.5834
Every format
| HEX | #afd494 |
| RGB | rgb(175, 212, 148) |
| HSL | hsl(95, 43%, 71%) |
| CMYK | cmyk(18%, 0%, 30%, 17%) |
| LAB | lab(80.9 -23.6 27.8) |
| LCH | lch(80.9 36.5 130.4) |
| OKLCH | oklch(0.827 0.095 132.6) |
Copy-ready code
/* CSS */
color: #afd494;
background-color: #afd494;
/* Tailwind (arbitrary) */
class="text-[#afd494] bg-[#afd494]"
/* SCSS */
$brand: #afd494;
/* SwiftUI */
Color(red: 0.686, green: 0.831, blue: 0.580)
/* Android */
Color.parseColor("#afd494")Accessibility — WCAG contrast
Aa
#afd494 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd494 on black: 12.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green83.1%
Blue58.0%
CMYK percentages
Cyan17.5%
Magenta0.0%
Yellow30.2%
Key (black)16.9%
Color previews
#afd494 text on a black background
contrast 12.67:1
Card sample
#afd494 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd494;
Background color
Panel with #afd494 background
background-color: #afd494;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd494;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 212, 148, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 212, 148, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd494; background: linear-gradient(135deg, #afd494, #94D4A4);