#AFF87D#AFF87D

#AFF87D is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.5% C 0.172 H 134.0°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#AFF87D
RGBrgb(175, 248, 125)
HSLhsl(96, 90%, 73%)
HSVhsv(96, 50%, 97%)
CMYKcmyk(29.4%, 0%, 49.6%, 2.7%)
CIE-LABlab(90.66, -43.20, 51.60)
CIE-LCHlch(90.66, 67.30, 129.93°)
OKLaboklab(90.46% -0.1193 0.1236)
OKLCHoklch(90.46% 0.172 134)
XYZxyz(54.9472, 77.7276, 31.5059)
Luminance0.7773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87D #C67DF8
analogous
#ECF87D #AFF87D #7DF888
triadic
#AFF87D #7DAFF8 #F87DAF
tetradic
#AFF87D #7DECF8 #C67DF8 #F8887D
square
#AFF87D #7DECF8 #C67DF8 #F8887D
split-complementary
#AFF87D #887DF8 #F87DEC
monochromatic
#68EE0D #8BF543 #AFF87D #D3FBB7 #EDFDE2

Accessibility & contrast

On white

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

On black

16.55
#AFF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF87D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF87D#FFFFFF#000000##000000
##AFF87D1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aff87d;
/* rgb */ color: rgb(175, 248, 125);
/* oklch */ color: oklch(90.5% 0.172 134.0);
Tailwind
colors: {
  custom: {
    50: '#cafba5',
    500: '#aff87d',
    950: '#000000',
  },
}
SCSS
$custom: #aff87d;
$custom-light: #cafba5;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87d",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 95.61,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90459,
    "c": 0.17181,
    "h": 134
  },
  "luminance": 0.77729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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