#AFFB80#AFFB80

#AFFB80 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.2% C 0.173 H 134.7°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#AFFB80
RGBrgb(175, 251, 128)
HSLhsl(97, 94%, 74%)
HSVhsv(97, 49%, 98%)
CMYKcmyk(30.3%, 0%, 49%, 1.6%)
CIE-LABlab(91.53, -44.17, 51.28)
CIE-LCHlch(91.53, 67.68, 130.74°)
OKLaboklab(91.18% -0.1218 0.1231)
OKLCHoklch(91.18% 0.173 134.7)
XYZxyz(56.0714, 79.6648, 32.8404)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB80 #CC80FB
analogous
#EDFB80 #AFFB80 #80FB8F
triadic
#AFFB80 #80AFFB #FB80AF
tetradic
#AFFB80 #80EDFB #CC80FB #FB8F80
square
#AFFB80 #80EDFB #CC80FB #FB8F80
split-complementary
#AFFB80 #8F80FB #FB80ED
monochromatic
#64F709 #8AF945 #AFFB80 #D4FDBB #ECFEE1

Accessibility & contrast

On white

1.24
#AFFB80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#AFFB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB80
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB80#FFFFFF#000000##000000
##AFFB801.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB75
Deuteranopia (green-blind)
#F8E488
Tritanopia (blue-blind)
#AEF3DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affb80;
/* rgb */ color: rgb(175, 251, 128);
/* oklch */ color: oklch(91.2% 0.173 134.7);
Tailwind
colors: {
  custom: {
    50: '#cafda7',
    500: '#affb80',
    950: '#000000',
  },
}
SCSS
$custom: #affb80;
$custom-light: #cafda7;
$custom-dark: #000000;
JSON
{
  "hex": "#affb80",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 128
  },
  "hsl": {
    "h": 97.073,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91183,
    "c": 0.17317,
    "h": 134.7
  },
  "luminance": 0.79667
}

Semantic roles & 50–950 ramp

primary
#AFFB80
secondary
#A146D9
accent
#00E68E
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFFB80

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

Preview Lab → · Contrast checker → · Palette generator →

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