#AFF882#AFF882

#AFF882 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.5% C 0.167 H 134.7°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#AFF882
RGBrgb(175, 248, 130)
HSLhsl(97, 89%, 74%)
HSVhsv(97, 48%, 97%)
CMYKcmyk(29.4%, 0%, 47.6%, 2.7%)
CIE-LABlab(90.72, -42.63, 49.34)
CIE-LCHlch(90.72, 65.20, 130.83°)
OKLaboklab(90.53% -0.1175 0.1189)
OKLCHoklch(90.53% 0.167 134.7)
XYZxyz(55.2746, 77.8585, 33.2307)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF882 #CB82F8
analogous
#EAF882 #AFF882 #82F890
triadic
#AFF882 #82AFF8 #F882AF
tetradic
#AFF882 #82EAF8 #CB82F8 #F89082
square
#AFF882 #82EAF8 #CB82F8 #F89082
split-complementary
#AFF882 #9082F8 #F882EA
monochromatic
#65F20E #8AF548 #AFF882 #D4FBBC #ECFDE2

Accessibility & contrast

On white

1.27
#AFF882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#AFF882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF882
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF882#FFFFFF#000000##000000
##AFF8821.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE878
Deuteranopia (green-blind)
#F5E289
Tritanopia (blue-blind)
#AFF0DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff882;
/* rgb */ color: rgb(175, 248, 130);
/* oklch */ color: oklch(90.5% 0.167 134.7);
Tailwind
colors: {
  custom: {
    50: '#cafba8',
    500: '#aff882',
    950: '#000000',
  },
}
SCSS
$custom: #aff882;
$custom-light: #cafba8;
$custom-dark: #000000;
JSON
{
  "hex": "#aff882",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 130
  },
  "hsl": {
    "h": 97.119,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90527,
    "c": 0.16713,
    "h": 134.7
  },
  "luminance": 0.7786
}

Semantic roles & 50–950 ramp

primary
#AFF882
secondary
#A049D5
accent
#00E68E
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF882

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

Preview Lab → · Contrast checker → · Palette generator →

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