#afeb7c
a light, vivid green · cool · closest name: khaki
RGB
175, 235, 124
HSL
92°, 74%, 70%
CMYK
26, 0, 47, 8
Luminance
0.6999
Every format
| HEX | #afeb7c |
| RGB | rgb(175, 235, 124) |
| HSL | hsl(92, 74%, 70%) |
| CMYK | cmyk(26%, 0%, 47%, 8%) |
| LAB | lab(87.0 -37.5 47.6) |
| LCH | lch(87.0 60.6 128.3) |
| OKLCH | oklch(0.875 0.155 132.2) |
Copy-ready code
/* CSS */
color: #afeb7c;
background-color: #afeb7c;
/* Tailwind (arbitrary) */
class="text-[#afeb7c] bg-[#afeb7c]"
/* SCSS */
$brand: #afeb7c;
/* SwiftUI */
Color(red: 0.686, green: 0.922, blue: 0.486)
/* Android */
Color.parseColor("#afeb7c")Accessibility — WCAG contrast
Aa
#afeb7c on white: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afeb7c on black: 15.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.2%
Blue48.6%
CMYK percentages
Cyan25.5%
Magenta0.0%
Yellow47.2%
Key (black)7.8%
Color previews
#afeb7c text on a black background
contrast 15.00:1
Card sample
#afeb7c text on a white background
contrast 1.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afeb7c;
Background color
Panel with #afeb7c background
background-color: #afeb7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afeb7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 235, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 235, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afeb7c; background: linear-gradient(135deg, #afeb7c, #7CEB93);