#A8F87B#A8F87B

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

Color values

HEX#A8F87B
RGBrgb(168, 248, 123)
HSLhsl(98, 90%, 73%)
HSVhsv(98, 50%, 97%)
CMYKcmyk(32.3%, 0%, 50.4%, 2.7%)
CIE-LABlab(90.27, -45.77, 51.98)
CIE-LCHlch(90.27, 69.26, 131.36°)
OKLaboklab(90.04% -0.1262 0.1243)
OKLCHoklch(90.04% 0.177 135.4)
XYZxyz(53.2897, 76.8876, 30.7681)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F87B #CB7BF8
analogous
#E6F87B #A8F87B #7BF88C
triadic
#A8F87B #7BA8F8 #F87BA8
tetradic
#A8F87B #7BE6F8 #CB7BF8 #F88C7B
square
#A8F87B #7BE6F8 #CB7BF8 #F88C7B
split-complementary
#A8F87B #8C7BF8 #F87BE6
monochromatic
#5DEC0D #82F541 #A8F87B #CEFBB5 #ECFDE2

Accessibility & contrast

On white

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

On black

16.38
#A8F87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F87B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F87B#FFFFFF#000000##000000
##A8F87B1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8f87b;
/* rgb */ color: rgb(168, 248, 123);
/* oklch */ color: oklch(90.0% 0.177 135.4);
Tailwind
colors: {
  custom: {
    50: '#c5fba4',
    500: '#a8f87b',
    950: '#000000',
  },
}
SCSS
$custom: #a8f87b;
$custom-light: #c5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f87b",
  "rgb": {
    "r": 168,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 98.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90042,
    "c": 0.17718,
    "h": 135.4
  },
  "luminance": 0.7689
}

Semantic roles & 50–950 ramp

primary
#A8F87B
secondary
#A043D4
accent
#00E693
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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