#AFF87F#AFF87F

#AFF87F is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.5% C 0.170 H 134.3°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#AFF87F
RGBrgb(175, 248, 127)
HSLhsl(96, 90%, 74%)
HSVhsv(96, 49%, 97%)
CMYKcmyk(29.4%, 0%, 48.8%, 2.7%)
CIE-LABlab(90.68, -42.97, 50.70)
CIE-LCHlch(90.68, 66.46, 130.28°)
OKLaboklab(90.49% -0.1186 0.1217)
OKLCHoklch(90.49% 0.17 134.3)
XYZxyz(55.0762, 77.7792, 32.1856)
Luminance0.7778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87F #C87FF8
analogous
#ECF87F #AFF87F #7FF88B
triadic
#AFF87F #7FAFF8 #F87FAF
tetradic
#AFF87F #7FECF8 #C87FF8 #F88B7F
square
#AFF87F #7FECF8 #C87FF8 #F88B7F
split-complementary
#AFF87F #8B7FF8 #F87FEC
monochromatic
#67F00D #8BF545 #AFF87F #D3FBB9 #EDFDE2

Accessibility & contrast

On white

1.27
#AFF87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#AFF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF87F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF87F#FFFFFF#000000##000000
##AFF87F1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE875
Deuteranopia (green-blind)
#F5E287
Tritanopia (blue-blind)
#AFF0DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff87f;
/* rgb */ color: rgb(175, 248, 127);
/* oklch */ color: oklch(90.5% 0.170 134.3);
Tailwind
colors: {
  custom: {
    50: '#cafba6',
    500: '#aff87f',
    950: '#000000',
  },
}
SCSS
$custom: #aff87f;
$custom-light: #cafba6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87f",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 96.198,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90486,
    "c": 0.16995,
    "h": 134.3
  },
  "luminance": 0.77781
}

Semantic roles & 50–950 ramp

primary
#AFF87F
secondary
#9C46D5
accent
#00E68A
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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