#AFE982#AFE982

#AFE982 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.1% C 0.146 H 132.7°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#AFE982
RGBrgb(175, 233, 130)
HSLhsl(94, 70%, 71%)
HSVhsv(94, 44%, 91%)
CMYKcmyk(24.9%, 0%, 44.2%, 8.6%)
CIE-LABlab(86.51, -35.94, 44.10)
CIE-LCHlch(86.51, 56.89, 129.18°)
OKLaboklab(87.12% -0.099 0.1071)
OKLCHoklch(87.12% 0.146 132.7)
XYZxyz(50.8464, 69.0022, 31.7546)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE982 #BC82E9
analogous
#E3E982 #AFE982 #82E988
triadic
#AFE982 #82AFE9 #E982AF
tetradic
#AFE982 #82E3E9 #BC82E9 #E98882
square
#AFE982 #82E3E9 #BC82E9 #E98882
split-complementary
#AFE982 #8882E9 #E982E3
monochromatic
#6ECD24 #8EE04E #AFE982 #D0F2B6 #EEFAE5

Accessibility & contrast

On white

1.42
#AFE982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#AFE982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE982
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE982#FFFFFF#000000##000000
##AFE9821.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB7A
Deuteranopia (green-blind)
#E8D788
Tritanopia (blue-blind)
#B0E2D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe982;
/* rgb */ color: rgb(175, 233, 130);
/* oklch */ color: oklch(87.1% 0.146 132.7);
Tailwind
colors: {
  custom: {
    50: '#c9f0a8',
    500: '#afe982',
    950: '#000000',
  },
}
SCSS
$custom: #afe982;
$custom-light: #c9f0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe982",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 130
  },
  "hsl": {
    "h": 93.786,
    "s": 70.068,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8712,
    "c": 0.14584,
    "h": 132.7
  },
  "luminance": 0.69003
}

Semantic roles & 50–950 ramp

primary
#AFE982
secondary
#8F4DC2
accent
#13D27F
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580

Preview Lab

Preview with #AFE982

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFE982 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva