#A8F87C#A8F87C

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

Color values

HEX#A8F87C
RGBrgb(168, 248, 124)
HSLhsl(99, 90%, 73%)
HSVhsv(99, 50%, 97%)
CMYKcmyk(32.3%, 0%, 50%, 2.7%)
CIE-LABlab(90.28, -45.66, 51.53)
CIE-LCHlch(90.28, 68.85, 131.54°)
OKLaboklab(90.06% -0.1259 0.1234)
OKLCHoklch(90.06% 0.176 135.6)
XYZxyz(53.3526, 76.9127, 31.0994)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F87C #CC7CF8
analogous
#E6F87C #A8F87C #7CF88E
triadic
#A8F87C #7CA8F8 #F87CA8
tetradic
#A8F87C #7CE6F8 #CC7CF8 #F88E7C
square
#A8F87C #7CE6F8 #CC7CF8 #F88E7C
split-complementary
#A8F87C #8E7CF8 #F87CE6
monochromatic
#5CED0D #81F542 #A8F87C #CFFBB6 #ECFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8F87C#FFFFFF#000000##000000
##A8F87C1.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)
#FFE771
Deuteranopia (green-blind)
#F4E184
Tritanopia (blue-blind)
#A6F0DC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a8f87c;
/* rgb */ color: rgb(168, 248, 124);
/* oklch */ color: oklch(90.1% 0.176 135.6);
Tailwind
colors: {
  custom: {
    50: '#c5fba4',
    500: '#a8f87c',
    950: '#000000',
  },
}
SCSS
$custom: #a8f87c;
$custom-light: #c5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f87c",
  "rgb": {
    "r": 168,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 98.71,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90056,
    "c": 0.17627,
    "h": 135.6
  },
  "luminance": 0.76915
}

Semantic roles & 50–950 ramp

primary
#A8F87C
secondary
#A144D4
accent
#00E694
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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