#AFFA80#AFFA80

#AFFA80 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.0% C 0.172 H 134.6°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#AFFA80
RGBrgb(175, 250, 128)
HSLhsl(97, 92%, 74%)
HSVhsv(97, 49%, 98%)
CMYKcmyk(30%, 0%, 48.8%, 2%)
CIE-LABlab(91.25, -43.73, 50.93)
CIE-LCHlch(91.25, 67.13, 130.65°)
OKLaboklab(90.96% -0.1206 0.1223)
OKLCHoklch(90.96% 0.172 134.6)
XYZxyz(55.7599, 79.0417, 32.7366)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA80 #CB80FA
analogous
#ECFA80 #AFFA80 #80FA8E
triadic
#AFFA80 #80AFFA #FA80AF
tetradic
#AFFA80 #80ECFA #CB80FA #FA8E80
square
#AFFA80 #80ECFA #CB80FA #FA8E80
split-complementary
#AFFA80 #8E80FA #FA80EC
monochromatic
#65F50A #8AF845 #AFFA80 #D4FCBB #ECFEE2

Accessibility & contrast

On white

1.25
#AFFA80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#AFFA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA80
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA80#FFFFFF#000000##000000
##AFFA801.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA75
Deuteranopia (green-blind)
#F7E488
Tritanopia (blue-blind)
#AFF2DE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affa80;
/* rgb */ color: rgb(175, 250, 128);
/* oklch */ color: oklch(91.0% 0.172 134.6);
Tailwind
colors: {
  custom: {
    50: '#cafca7',
    500: '#affa80',
    950: '#000000',
  },
}
SCSS
$custom: #affa80;
$custom-light: #cafca7;
$custom-dark: #000000;
JSON
{
  "hex": "#affa80",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 96.885,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90955,
    "c": 0.17179,
    "h": 134.6
  },
  "luminance": 0.79044
}

Semantic roles & 50–950 ramp

primary
#AFFA80
secondary
#A047D7
accent
#00E68D
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFFA80

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

Preview Lab → · Contrast checker → · Palette generator →

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