#AFFD82#AFFD82

#AFFD82 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 91.7% C 0.174 H 135.2°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#AFFD82
RGBrgb(175, 253, 130)
HSLhsl(98, 97%, 75%)
HSVhsv(98, 49%, 99%)
CMYKcmyk(30.8%, 0%, 48.6%, 0.8%)
CIE-LABlab(92.12, -44.80, 51.06)
CIE-LCHlch(92.12, 67.93, 131.26°)
OKLaboklab(91.67% -0.1235 0.1227)
OKLCHoklch(91.67% 0.174 135.2)
XYZxyz(56.8324, 80.9741, 33.7499)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD82 #D082FD
analogous
#ECFD82 #AFFD82 #82FD93
triadic
#AFFD82 #82AFFD #FD82AF
tetradic
#AFFD82 #82ECFD #D082FD #FD9382
square
#AFFD82 #82ECFD #D082FD #FD9382
split-complementary
#AFFD82 #9382FD #FD82EC
monochromatic
#62FB0A #88FC46 #AFFD82 #D6FEBE #ECFFE1

Accessibility & contrast

On white

1.22
#AFFD82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#AFFD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD82
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD82#FFFFFF#000000##000000
##AFFD821.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED77
Deuteranopia (green-blind)
#FAE68A
Tritanopia (blue-blind)
#AEF5E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd82;
/* rgb */ color: rgb(175, 253, 130);
/* oklch */ color: oklch(91.7% 0.174 135.2);
Tailwind
colors: {
  custom: {
    50: '#cafea9',
    500: '#affd82',
    950: '#000000',
  },
}
SCSS
$custom: #affd82;
$custom-light: #cafea9;
$custom-dark: #000000;
JSON
{
  "hex": "#affd82",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 130
  },
  "hsl": {
    "h": 98.049,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91667,
    "c": 0.17407,
    "h": 135.2
  },
  "luminance": 0.80976
}

Semantic roles & 50–950 ramp

primary
#AFFD82
secondary
#A547DC
accent
#00E692
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFD82

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

Preview Lab → · Contrast checker → · Palette generator →

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