Skip to content

#afe982

a light, vivid green · cool · closest name: khaki

RGB
175, 233, 130
HSL
94°, 70%, 71%
CMYK
25, 0, 44, 9
Luminance
0.6900

Every format

HEX#afe982
RGBrgb(175, 233, 130)
HSLhsl(94, 70%, 71%)
CMYKcmyk(25%, 0%, 44%, 9%)
LABlab(86.5 -35.9 44.1)
LCHlch(86.5 56.9 129.2)
OKLCHoklch(0.871 0.146 132.7)

Copy-ready code

/* CSS */
color: #afe982;
background-color: #afe982;
/* Tailwind (arbitrary) */
class="text-[#afe982] bg-[#afe982]"
/* SCSS */
$brand: #afe982;
/* SwiftUI */
Color(red: 0.686, green: 0.914, blue: 0.510)
/* Android */
Color.parseColor("#afe982")

Accessibility — WCAG contrast

Aa
#afe982 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#afe982 on black: 14.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green91.4%
Blue51.0%

CMYK percentages

Cyan24.9%
Magenta0.0%
Yellow44.2%
Key (black)8.6%

Color previews

#afe982 text on a black background

contrast 14.80:1

Card sample

#afe982 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #afe982;
Background color
Panel with #afe982 background
background-color: #afe982;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #afe982;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 233, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 233, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afe982;
background: linear-gradient(135deg, #afe982, #82E99A);

Monochromatic scale

Palettes built from #afe982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe982 in the Color Lab