#A8F87A#A8F87A

#A8F87A is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.0% C 0.178 H 135.3°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#A8F87A
RGBrgb(168, 248, 122)
HSLhsl(98, 90%, 73%)
HSVhsv(98, 51%, 97%)
CMYKcmyk(32.3%, 0%, 50.8%, 2.7%)
CIE-LABlab(90.26, -45.88, 52.43)
CIE-LCHlch(90.26, 69.67, 131.19°)
OKLaboklab(90.03% -0.1266 0.1253)
OKLCHoklch(90.03% 0.178 135.3)
XYZxyz(53.2275, 76.8627, 30.4401)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F87A #CA7AF8
analogous
#E7F87A #A8F87A #7AF88B
triadic
#A8F87A #7AA8F8 #F87AA8
tetradic
#A8F87A #7AE7F8 #CA7AF8 #F88B7A
square
#A8F87A #7AE7F8 #CA7AF8 #F88B7A
split-complementary
#A8F87A #8B7AF8 #F87AE7
monochromatic
#5EEB0C #82F540 #A8F87A #CEFBB4 #ECFDE2

Accessibility & contrast

On white

1.28
#A8F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#A8F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F87A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F87A#FFFFFF#000000##000000
##A8F87A1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#F4E182
Tritanopia (blue-blind)
#A7F0DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a8f87a;
/* rgb */ color: rgb(168, 248, 122);
/* oklch */ color: oklch(90.0% 0.178 135.3);
Tailwind
colors: {
  custom: {
    50: '#c5fba3',
    500: '#a8f87a',
    950: '#000000',
  },
}
SCSS
$custom: #a8f87a;
$custom-light: #c5fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f87a",
  "rgb": {
    "r": 168,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 98.095,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90029,
    "c": 0.17809,
    "h": 135.3
  },
  "luminance": 0.76865
}

Semantic roles & 50–950 ramp

primary
#A8F87A
secondary
#9F42D4
accent
#00E692
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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