#afd490
a light, soft green · cool · closest name: khaki
RGB
175, 212, 144
HSL
93°, 44%, 70%
CMYK
18, 0, 32, 17
Luminance
0.5821
Every format
| HEX | #afd490 |
| RGB | rgb(175, 212, 144) |
| HSL | hsl(93, 44%, 70%) |
| CMYK | cmyk(18%, 0%, 32%, 17%) |
| LAB | lab(80.9 -24.2 29.8) |
| LCH | lch(80.9 38.4 129.1) |
| OKLCH | oklch(0.826 0.099 131.5) |
Copy-ready code
/* CSS */
color: #afd490;
background-color: #afd490;
/* Tailwind (arbitrary) */
class="text-[#afd490] bg-[#afd490]"
/* SCSS */
$brand: #afd490;
/* SwiftUI */
Color(red: 0.686, green: 0.831, blue: 0.565)
/* Android */
Color.parseColor("#afd490")Accessibility — WCAG contrast
Aa
#afd490 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd490 on black: 12.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green83.1%
Blue56.5%
CMYK percentages
Cyan17.5%
Magenta0.0%
Yellow32.1%
Key (black)16.9%
Color previews
#afd490 text on a black background
contrast 12.64:1
Card sample
#afd490 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd490;
Background color
Panel with #afd490 background
background-color: #afd490;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd490;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 212, 144, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 212, 144, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd490; background: linear-gradient(135deg, #afd490, #90D49E);