#AFFE80#AFFE80

#AFFE80 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 91.9% C 0.177 H 135.0°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#AFFE80
RGBrgb(175, 254, 128)
HSLhsl(98, 98%, 75%)
HSVhsv(98, 50%, 100%)
CMYKcmyk(31.1%, 0%, 49.6%, 0.4%)
CIE-LABlab(92.38, -45.46, 52.30)
CIE-LCHlch(92.38, 69.30, 130.99°)
OKLaboklab(91.87% -0.1254 0.1253)
OKLCHoklch(91.87% 0.177 135)
XYZxyz(57.0160, 81.5539, 33.1553)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE80 #CF80FE
analogous
#EEFE80 #AFFE80 #80FE90
triadic
#AFFE80 #80AFFE #FE80AF
tetradic
#AFFE80 #80EEFE #CF80FE #FE9080
square
#AFFE80 #80EEFE #CF80FE #FE9080
split-complementary
#AFFE80 #9080FE #FE80EE
monochromatic
#63FD07 #89FE43 #AFFE80 #D5FEBD #ECFFE1

Accessibility & contrast

On white

1.21
#AFFE80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#AFFE80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE80
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE80#FFFFFF#000000##000000
##AFFE801.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED75
Deuteranopia (green-blind)
#FBE788
Tritanopia (blue-blind)
#AEF6E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe80;
/* rgb */ color: rgb(175, 254, 128);
/* oklch */ color: oklch(91.9% 0.177 135.0);
Tailwind
colors: {
  custom: {
    50: '#caffa7',
    500: '#affe80',
    950: '#000000',
  },
}
SCSS
$custom: #affe80;
$custom-light: #caffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#affe80",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 128
  },
  "hsl": {
    "h": 97.619,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91868,
    "c": 0.17729,
    "h": 135
  },
  "luminance": 0.81556
}

Semantic roles & 50–950 ramp

primary
#AFFE80
secondary
#A445DD
accent
#00E690
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #AFFE80

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

Preview Lab → · Contrast checker → · Palette generator →

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