#AFF987#AFF987

#AFF987 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.8% C 0.164 H 135.5°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#AFF987
RGBrgb(175, 249, 135)
HSLhsl(99, 90%, 75%)
HSVhsv(99, 46%, 98%)
CMYKcmyk(29.7%, 0%, 45.8%, 2.4%)
CIE-LABlab(91.06, -42.48, 47.39)
CIE-LCHlch(91.06, 63.64, 131.87°)
OKLaboklab(90.83% -0.1168 0.1148)
OKLCHoklch(90.83% 0.164 135.5)
XYZxyz(55.9267, 78.6126, 35.1440)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF987 #D187F9
analogous
#E8F987 #AFF987 #87F998
triadic
#AFF987 #87AFF9 #F987AF
tetradic
#AFF987 #87E8F9 #D187F9 #F99887
square
#AFF987 #87E8F9 #D187F9 #F99887
split-complementary
#AFF987 #9887F9 #F987E8
monochromatic
#61F312 #88F64D #AFF987 #D6FCC1 #ECFEE2

Accessibility & contrast

On white

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

On black

16.72
#AFF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF987
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF987#FFFFFF#000000##000000
##AFF9871.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#F6E38E
Tritanopia (blue-blind)
#AEF2DE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff987;
/* rgb */ color: rgb(175, 249, 135);
/* oklch */ color: oklch(90.8% 0.164 135.5);
Tailwind
colors: {
  custom: {
    50: '#c9fbac',
    500: '#aff987',
    950: '#000000',
  },
}
SCSS
$custom: #aff987;
$custom-light: #c9fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#aff987",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 98.947,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90826,
    "c": 0.16376,
    "h": 135.5
  },
  "luminance": 0.78615
}

Semantic roles & 50–950 ramp

primary
#AFF987
secondary
#A74DD7
accent
#00E695
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF987

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

Preview Lab → · Contrast checker → · Palette generator →

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