#AFFD80#AFFD80

#AFFD80 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 91.6% C 0.176 H 134.9°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#AFFD80
RGBrgb(175, 253, 128)
HSLhsl(97, 97%, 75%)
HSVhsv(97, 49%, 99%)
CMYKcmyk(30.8%, 0%, 49.4%, 0.8%)
CIE-LABlab(92.10, -45.03, 51.96)
CIE-LCHlch(92.10, 68.76, 130.91°)
OKLaboklab(91.64% -0.1242 0.1246)
OKLCHoklch(91.64% 0.176 134.9)
XYZxyz(56.6995, 80.9209, 33.0498)
Luminance0.8092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD80 #CE80FD
analogous
#EDFD80 #AFFD80 #80FD90
triadic
#AFFD80 #80AFFD #FD80AF
tetradic
#AFFD80 #80EDFD #CE80FD #FD9080
square
#AFFD80 #80EDFD #CE80FD #FD9080
split-complementary
#AFFD80 #9080FD #FD80ED
monochromatic
#63FB07 #89FC44 #AFFD80 #D5FEBC #ECFFE1

Accessibility & contrast

On white

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

On black

17.18
#AFFD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD80
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD80#FFFFFF#000000##000000
##AFFD801.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affd80;
/* rgb */ color: rgb(175, 253, 128);
/* oklch */ color: oklch(91.6% 0.176 134.9);
Tailwind
colors: {
  custom: {
    50: '#cafea7',
    500: '#affd80',
    950: '#000000',
  },
}
SCSS
$custom: #affd80;
$custom-light: #cafea7;
$custom-dark: #000000;
JSON
{
  "hex": "#affd80",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 128
  },
  "hsl": {
    "h": 97.44,
    "s": 96.899,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9164,
    "c": 0.17592,
    "h": 134.9
  },
  "luminance": 0.80923
}

Semantic roles & 50–950 ramp

primary
#AFFD80
secondary
#A346DB
accent
#00E68F
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141810
muted
#838680

Preview Lab

Preview with #AFFD80

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

Preview Lab → · Contrast checker → · Palette generator →

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