#AFF87B#AFF87B

#AFF87B is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.4% C 0.174 H 133.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#AFF87B
RGBrgb(175, 248, 123)
HSLhsl(95, 90%, 73%)
HSVhsv(95, 50%, 97%)
CMYKcmyk(29.4%, 0%, 50.4%, 2.7%)
CIE-LABlab(90.63, -43.42, 52.50)
CIE-LCHlch(90.63, 68.13, 129.59°)
OKLaboklab(90.43% -0.1201 0.1254)
OKLCHoklch(90.43% 0.174 133.7)
XYZxyz(54.8207, 77.6770, 30.8398)
Luminance0.7768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87B #C47BF8
analogous
#EDF87B #AFF87B #7BF885
triadic
#AFF87B #7BAFF8 #F87BAF
tetradic
#AFF87B #7BEDF8 #C47BF8 #F8857B
square
#AFF87B #7BEDF8 #C47BF8 #F8857B
split-complementary
#AFF87B #857BF8 #F87BED
monochromatic
#6AEC0D #8CF541 #AFF87B #D2FBB5 #EDFDE2

Accessibility & contrast

On white

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

On black

16.54
#AFF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF87B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF87B#FFFFFF#000000##000000
##AFF87B1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#AFF0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff87b;
/* rgb */ color: rgb(175, 248, 123);
/* oklch */ color: oklch(90.4% 0.174 133.7);
Tailwind
colors: {
  custom: {
    50: '#cafba4',
    500: '#aff87b',
    950: '#000000',
  },
}
SCSS
$custom: #aff87b;
$custom-light: #cafba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87b",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 95.04,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90433,
    "c": 0.17365,
    "h": 133.7
  },
  "luminance": 0.77679
}

Semantic roles & 50–950 ramp

primary
#AFF87B
secondary
#9843D4
accent
#00E686
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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