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