#AFF87E#AFF87E

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

Color values

HEX#AFF87E
RGBrgb(175, 248, 126)
HSLhsl(96, 90%, 73%)
HSVhsv(96, 49%, 97%)
CMYKcmyk(29.4%, 0%, 49.2%, 2.7%)
CIE-LABlab(90.67, -43.09, 51.15)
CIE-LCHlch(90.67, 66.88, 130.11°)
OKLaboklab(90.47% -0.119 0.1227)
OKLCHoklch(90.47% 0.171 134.1)
XYZxyz(55.0114, 77.7532, 31.8441)
Luminance0.7775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87E #C77EF8
analogous
#ECF87E #AFF87E #7EF88A
triadic
#AFF87E #7EAFF8 #F87EAF
tetradic
#AFF87E #7EECF8 #C77EF8 #F88A7E
square
#AFF87E #7EECF8 #C77EF8 #F88A7E
split-complementary
#AFF87E #8A7EF8 #F87EEC
monochromatic
#68EF0D #8BF544 #AFF87E #D3FBB8 #EDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF87E#FFFFFF#000000##000000
##AFF87E1.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)
#FFE873
Deuteranopia (green-blind)
#F6E286
Tritanopia (blue-blind)
#AFF0DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff87e;
/* rgb */ color: rgb(175, 248, 126);
/* oklch */ color: oklch(90.5% 0.171 134.1);
Tailwind
colors: {
  custom: {
    50: '#cafba6',
    500: '#aff87e',
    950: '#000000',
  },
}
SCSS
$custom: #aff87e;
$custom-light: #cafba6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87e",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 95.902,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90472,
    "c": 0.17089,
    "h": 134.1
  },
  "luminance": 0.77755
}

Semantic roles & 50–950 ramp

primary
#AFF87E
secondary
#9B46D5
accent
#00E689
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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