#AFF97B#AFF97B

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

Color values

HEX#AFF97B
RGBrgb(175, 249, 123)
HSLhsl(95, 91%, 73%)
HSVhsv(95, 51%, 98%)
CMYKcmyk(29.7%, 0%, 50.6%, 2.4%)
CIE-LABlab(90.91, -43.85, 52.84)
CIE-LCHlch(90.91, 68.67, 129.69°)
OKLaboklab(90.66% -0.1213 0.1262)
OKLCHoklch(90.66% 0.175 133.9)
XYZxyz(55.1289, 78.2935, 30.9426)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF97B #C57BF9
analogous
#EEF97B #AFF97B #7BF986
triadic
#AFF97B #7BAFF9 #F97BAF
tetradic
#AFF97B #7BEEF9 #C57BF9 #F9867B
square
#AFF97B #7BEEF9 #C57BF9 #F9867B
split-complementary
#AFF97B #867BF9 #F97BEE
monochromatic
#69EF0B #8CF640 #AFF97B #D2FCB6 #EDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF97B#FFFFFF#000000##000000
##AFF97B1.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)
#FFE970
Deuteranopia (green-blind)
#F7E383
Tritanopia (blue-blind)
#AFF1DC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff97b;
/* rgb */ color: rgb(175, 249, 123);
/* oklch */ color: oklch(90.7% 0.175 133.9);
Tailwind
colors: {
  custom: {
    50: '#cafba4',
    500: '#aff97b',
    950: '#000000',
  },
}
SCSS
$custom: #aff97b;
$custom-light: #cafba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aff97b",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 95.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90661,
    "c": 0.17502,
    "h": 133.9
  },
  "luminance": 0.78295
}

Semantic roles & 50–950 ramp

primary
#AFF97B
secondary
#9943D6
accent
#00E687
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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