#AFF97C#AFF97C

#AFF97C is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.7% C 0.174 H 134.0°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#AFF97C
RGBrgb(175, 249, 124)
HSLhsl(96, 91%, 73%)
HSVhsv(96, 50%, 98%)
CMYKcmyk(29.7%, 0%, 50.2%, 2.4%)
CIE-LABlab(90.93, -43.74, 52.40)
CIE-LCHlch(90.93, 68.26, 129.86°)
OKLaboklab(90.67% -0.1209 0.1253)
OKLCHoklch(90.67% 0.174 134)
XYZxyz(55.1919, 78.3187, 31.2739)
Luminance0.7832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF97C #C67CF9
analogous
#EDF97C #AFF97C #7CF987
triadic
#AFF97C #7CAFF9 #F97CAF
tetradic
#AFF97C #7CEDF9 #C67CF9 #F9877C
square
#AFF97C #7CEDF9 #C67CF9 #F9877C
split-complementary
#AFF97C #877CF9 #F97CED
monochromatic
#68F00B #8BF641 #AFF97C #D3FCB7 #EDFEE2

Accessibility & contrast

On white

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

On black

16.66
#AFF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF97C
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF97C#FFFFFF#000000##000000
##AFF97C1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aff97c;
/* rgb */ color: rgb(175, 249, 124);
/* oklch */ color: oklch(90.7% 0.174 134.0);
Tailwind
colors: {
  custom: {
    50: '#cafba4',
    500: '#aff97c',
    950: '#000000',
  },
}
SCSS
$custom: #aff97c;
$custom-light: #cafba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aff97c",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 95.52,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90674,
    "c": 0.1741,
    "h": 134
  },
  "luminance": 0.78321
}

Semantic roles & 50–950 ramp

primary
#AFF97C
secondary
#9A44D6
accent
#00E688
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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