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