#AFFC80#AFFC80

#AFFC80 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.4% C 0.175 H 134.8°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#AFFC80
RGBrgb(175, 252, 128)
HSLhsl(97, 95%, 75%)
HSVhsv(97, 49%, 99%)
CMYKcmyk(30.6%, 0%, 49.2%, 1.2%)
CIE-LABlab(91.82, -44.60, 51.62)
CIE-LCHlch(91.82, 68.22, 130.83°)
OKLaboklab(91.41% -0.123 0.1238)
OKLCHoklch(91.41% 0.175 134.8)
XYZxyz(56.3846, 80.2912, 32.9448)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC80 #CD80FC
analogous
#EDFC80 #AFFC80 #80FC8F
triadic
#AFFC80 #80AFFC #FC80AF
tetradic
#AFFC80 #80EDFC #CD80FC #FC8F80
square
#AFFC80 #80EDFC #CD80FC #FC8F80
split-complementary
#AFFC80 #8F80FC #FC80ED
monochromatic
#64F908 #89FB44 #AFFC80 #D5FDBC #ECFEE1

Accessibility & contrast

On white

1.23
#AFFC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#AFFC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC80
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC80#FFFFFF#000000##000000
##AFFC801.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC75
Deuteranopia (green-blind)
#F9E588
Tritanopia (blue-blind)
#AEF4DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc80;
/* rgb */ color: rgb(175, 252, 128);
/* oklch */ color: oklch(91.4% 0.175 134.8);
Tailwind
colors: {
  custom: {
    50: '#cafea7',
    500: '#affc80',
    950: '#000000',
  },
}
SCSS
$custom: #affc80;
$custom-light: #cafea7;
$custom-dark: #000000;
JSON
{
  "hex": "#affc80",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 128
  },
  "hsl": {
    "h": 97.258,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91412,
    "c": 0.17455,
    "h": 134.8
  },
  "luminance": 0.80293
}

Semantic roles & 50–950 ramp

primary
#AFFC80
secondary
#A246DA
accent
#00E68F
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131810
muted
#838680

Preview Lab

Preview with #AFFC80

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

Preview Lab → · Contrast checker → · Palette generator →

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