#afd07c
a light, vivid green · cool · closest name: khaki
RGB
175, 208, 124
HSL
84°, 47%, 65%
CMYK
16, 0, 40, 18
Luminance
0.5568
Every format
| HEX | #afd07c |
| RGB | rgb(175, 208, 124) |
| HSL | hsl(84, 47%, 65%) |
| CMYK | cmyk(16%, 0%, 40%, 18%) |
| LAB | lab(79.4 -24.9 38.1) |
| LCH | lch(79.4 45.5 123.2) |
| OKLCH | oklch(0.814 0.116 126.3) |
Copy-ready code
/* CSS */
color: #afd07c;
background-color: #afd07c;
/* Tailwind (arbitrary) */
class="text-[#afd07c] bg-[#afd07c]"
/* SCSS */
$brand: #afd07c;
/* SwiftUI */
Color(red: 0.686, green: 0.816, blue: 0.486)
/* Android */
Color.parseColor("#afd07c")Accessibility — WCAG contrast
Aa
#afd07c on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd07c on black: 12.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green81.6%
Blue48.6%
CMYK percentages
Cyan15.9%
Magenta0.0%
Yellow40.4%
Key (black)18.4%
Color previews
#afd07c text on a black background
contrast 12.14:1
Card sample
#afd07c text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd07c;
Background color
Panel with #afd07c background
background-color: #afd07c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd07c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 208, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd07c; background: linear-gradient(135deg, #afd07c, #7CD081);