#AFF97A#AFF97A

#AFF97A is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.6% C 0.176 H 133.7°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#AFF97A
RGBrgb(175, 249, 122)
HSLhsl(95, 91%, 73%)
HSVhsv(95, 51%, 98%)
CMYKcmyk(29.7%, 0%, 51%, 2.4%)
CIE-LABlab(90.90, -43.96, 53.29)
CIE-LCHlch(90.90, 69.08, 129.52°)
OKLaboklab(90.65% -0.1216 0.1271)
OKLCHoklch(90.65% 0.176 133.7)
XYZxyz(55.0667, 78.2686, 30.6146)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF97A #C47AF9
analogous
#EEF97A #AFF97A #7AF985
triadic
#AFF97A #7AAFF9 #F97AAF
tetradic
#AFF97A #7AEEF9 #C47AF9 #F9857A
square
#AFF97A #7AEEF9 #C47AF9 #F9857A
split-complementary
#AFF97A #857AF9 #F97AEE
monochromatic
#6AEE0B #8CF63F #AFF97A #D2FCB5 #EDFEE2

Accessibility & contrast

On white

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

On black

16.65
#AFF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF97A
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF97A#FFFFFF#000000##000000
##AFF97A1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#AFF1DC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff97a;
/* rgb */ color: rgb(175, 249, 122);
/* oklch */ color: oklch(90.6% 0.176 133.7);
Tailwind
colors: {
  custom: {
    50: '#cafba3',
    500: '#aff97a',
    950: '#000000',
  },
}
SCSS
$custom: #aff97a;
$custom-light: #cafba3;
$custom-dark: #000000;
JSON
{
  "hex": "#aff97a",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 94.961,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90648,
    "c": 0.17593,
    "h": 133.7
  },
  "luminance": 0.7827
}

Semantic roles & 50–950 ramp

primary
#AFF97A
secondary
#9842D5
accent
#00E686
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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