#AFF97F#AFF97F

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

Color values

HEX#AFF97F
RGBrgb(175, 249, 127)
HSLhsl(96, 91%, 74%)
HSVhsv(96, 49%, 98%)
CMYKcmyk(29.7%, 0%, 49%, 2.4%)
CIE-LABlab(90.96, -43.41, 51.04)
CIE-LCHlch(90.96, 67.01, 130.38°)
OKLaboklab(90.71% -0.1198 0.1225)
OKLCHoklch(90.71% 0.171 134.4)
XYZxyz(55.3845, 78.3957, 32.2883)
Luminance0.7840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF97F #C97FF9
analogous
#ECF97F #AFF97F #7FF98C
triadic
#AFF97F #7FAFF9 #F97FAF
tetradic
#AFF97F #7FECF9 #C97FF9 #F98C7F
square
#AFF97F #7FECF9 #C97FF9 #F98C7F
split-complementary
#AFF97F #8C7FF9 #F97FEC
monochromatic
#66F20B #8AF645 #AFF97F #D4FCB9 #EDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF97F#FFFFFF#000000##000000
##AFF97F1.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)
#FFE974
Deuteranopia (green-blind)
#F6E387
Tritanopia (blue-blind)
#AFF1DD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff97f;
/* rgb */ color: rgb(175, 249, 127);
/* oklch */ color: oklch(90.7% 0.171 134.4);
Tailwind
colors: {
  custom: {
    50: '#cafba6',
    500: '#aff97f',
    950: '#000000',
  },
}
SCSS
$custom: #aff97f;
$custom-light: #cafba6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff97f",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 96.393,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90714,
    "c": 0.17134,
    "h": 134.4
  },
  "luminance": 0.78398
}

Semantic roles & 50–950 ramp

primary
#AFF97F
secondary
#9D46D6
accent
#00E68B
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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