#afd27f
a light, vivid green · cool · closest name: khaki
RGB
175, 210, 127
HSL
85°, 48%, 66%
CMYK
17, 0, 40, 18
Luminance
0.5674
Every format
| HEX | #afd27f |
| RGB | rgb(175, 210, 127) |
| HSL | hsl(85, 48%, 66%) |
| CMYK | cmyk(17%, 0%, 40%, 18%) |
| LAB | lab(80.0 -25.5 37.4) |
| LCH | lch(80.0 45.3 124.3) |
| OKLCH | oklch(0.819 0.115 127.4) |
Copy-ready code
/* CSS */
color: #afd27f;
background-color: #afd27f;
/* Tailwind (arbitrary) */
class="text-[#afd27f] bg-[#afd27f]"
/* SCSS */
$brand: #afd27f;
/* SwiftUI */
Color(red: 0.686, green: 0.824, blue: 0.498)
/* Android */
Color.parseColor("#afd27f")Accessibility — WCAG contrast
Aa
#afd27f on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd27f on black: 12.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green82.4%
Blue49.8%
CMYK percentages
Cyan16.7%
Magenta0.0%
Yellow39.5%
Key (black)17.6%
Color previews
#afd27f text on a black background
contrast 12.35:1
Card sample
#afd27f text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd27f;
Background color
Panel with #afd27f background
background-color: #afd27f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd27f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 210, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 210, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd27f; background: linear-gradient(135deg, #afd27f, #7FD286);