#AFF980#AFF980

#AFF980 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 90.7% C 0.170 H 134.5°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#AFF980
RGBrgb(175, 249, 128)
HSLhsl(97, 91%, 74%)
HSVhsv(97, 49%, 98%)
CMYKcmyk(29.7%, 0%, 48.6%, 2.4%)
CIE-LABlab(90.97, -43.30, 50.59)
CIE-LCHlch(90.97, 66.59, 130.56°)
OKLaboklab(90.73% -0.1194 0.1215)
OKLCHoklch(90.73% 0.17 134.5)
XYZxyz(55.4500, 78.4219, 32.6333)
Luminance0.7842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF980 #CA80F9
analogous
#ECF980 #AFF980 #80F98E
triadic
#AFF980 #80AFF9 #F980AF
tetradic
#AFF980 #80ECF9 #CA80F9 #F98E80
square
#AFF980 #80ECF9 #CA80F9 #F98E80
split-complementary
#AFF980 #8E80F9 #F980EC
monochromatic
#65F30B #8AF646 #AFF980 #D4FCBA #EDFEE2

Accessibility & contrast

On white

1.26
#AFF980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#AFF980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF980
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF980#FFFFFF#000000##000000
##AFF9801.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE976
Deuteranopia (green-blind)
#F6E388
Tritanopia (blue-blind)
#AFF1DD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff980;
/* rgb */ color: rgb(175, 249, 128);
/* oklch */ color: oklch(90.7% 0.170 134.5);
Tailwind
colors: {
  custom: {
    50: '#cafba7',
    500: '#aff980',
    950: '#000000',
  },
}
SCSS
$custom: #aff980;
$custom-light: #cafba7;
$custom-dark: #000000;
JSON
{
  "hex": "#aff980",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 96.694,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90727,
    "c": 0.1704,
    "h": 134.5
  },
  "luminance": 0.78424
}

Semantic roles & 50–950 ramp

primary
#AFF980
secondary
#9F47D6
accent
#00E68C
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF980

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

Preview Lab → · Contrast checker → · Palette generator →

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