#AFE882#AFE882

#AFE882 is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.9% C 0.144 H 132.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#AFE882
RGBrgb(175, 232, 130)
HSLhsl(94, 69%, 71%)
HSVhsv(94, 44%, 91%)
CMYKcmyk(24.6%, 0%, 44%, 9%)
CIE-LABlab(86.22, -35.48, 43.75)
CIE-LCHlch(86.22, 56.33, 129.04°)
OKLaboklab(86.89% -0.0977 0.1063)
OKLCHoklch(86.89% 0.144 132.6)
XYZxyz(50.5642, 68.4376, 31.6605)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE882 #BB82E8
analogous
#E2E882 #AFE882 #82E888
triadic
#AFE882 #82AFE8 #E882AF
tetradic
#AFE882 #82E2E8 #BB82E8 #E88882
square
#AFE882 #82E2E8 #BB82E8 #E88882
split-complementary
#AFE882 #8882E8 #E882E2
monochromatic
#6ECA25 #8EDE4E #AFE882 #D0F2B6 #EEFAE5

Accessibility & contrast

On white

1.43
#AFE882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#AFE882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE882
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE882#FFFFFF#000000##000000
##AFE8821.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7A
Deuteranopia (green-blind)
#E7D688
Tritanopia (blue-blind)
#B0E1D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe882;
/* rgb */ color: rgb(175, 232, 130);
/* oklch */ color: oklch(86.9% 0.144 132.6);
Tailwind
colors: {
  custom: {
    50: '#c9efa8',
    500: '#afe882',
    950: '#000000',
  },
}
SCSS
$custom: #afe882;
$custom-light: #c9efa8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe882",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 130
  },
  "hsl": {
    "h": 93.529,
    "s": 68.919,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86894,
    "c": 0.14441,
    "h": 132.6
  },
  "luminance": 0.68439
}

Semantic roles & 50–950 ramp

primary
#AFE882
secondary
#8E4DC1
accent
#15D17E
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580

Preview Lab

Preview with #AFE882

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

Preview Lab → · Contrast checker → · Palette generator →

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