#a8d492
a light, soft green · cool · closest name: khaki
RGB
168, 212, 146
HSL
100°, 43%, 70%
CMYK
21, 0, 31, 17
Luminance
0.5749
Every format
| HEX | #a8d492 |
| RGB | rgb(168, 212, 146) |
| HSL | hsl(100, 43%, 70%) |
| CMYK | cmyk(21%, 0%, 31%, 17%) |
| LAB | lab(80.5 -26.4 28.1) |
| LCH | lch(80.5 38.5 133.2) |
| OKLCH | oklch(0.822 0.101 135.5) |
Copy-ready code
/* CSS */
color: #a8d492;
background-color: #a8d492;
/* Tailwind (arbitrary) */
class="text-[#a8d492] bg-[#a8d492]"
/* SCSS */
$brand: #a8d492;
/* SwiftUI */
Color(red: 0.659, green: 0.831, blue: 0.573)
/* Android */
Color.parseColor("#a8d492")Accessibility — WCAG contrast
Aa
#a8d492 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a8d492 on black: 12.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green83.1%
Blue57.3%
CMYK percentages
Cyan20.8%
Magenta0.0%
Yellow31.1%
Key (black)16.9%
Color previews
#a8d492 text on a black background
contrast 12.50:1
Card sample
#a8d492 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a8d492;
Background color
Panel with #a8d492 background
background-color: #a8d492;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a8d492;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 212, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 212, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8d492; background: linear-gradient(135deg, #a8d492, #92D4A8);