#A8E87F#A8E87F

#A8E87F is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.4% C 0.151 H 134.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#A8E87F
RGBrgb(168, 232, 127)
HSLhsl(97, 70%, 70%)
HSVhsv(97, 45%, 91%)
CMYKcmyk(27.6%, 0%, 45.3%, 9%)
CIE-LABlab(85.79, -38.28, 44.58)
CIE-LCHlch(85.79, 58.76, 130.66°)
OKLaboklab(86.43% -0.1054 0.1081)
OKLCHoklch(86.43% 0.151 134.3)
XYZxyz(48.8348, 67.5688, 30.5437)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8E87F #BF7FE8
analogous
#DDE87F #A8E87F #7FE88A
triadic
#A8E87F #7FA8E8 #E87FA8
tetradic
#A8E87F #7FDDE8 #BF7FE8 #E88A7F
square
#A8E87F #7FDDE8 #BF7FE8 #E88A7F
split-complementary
#A8E87F #8A7FE8 #E87FDD
monochromatic
#64C924 #85DF4B #A8E87F #CBF1B3 #EDFAE5

Accessibility & contrast

On white

1.45
#A8E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#A8E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8E87F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8E87F#FFFFFF#000000##000000
##A8E87F1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA77
Deuteranopia (green-blind)
#E6D585
Tritanopia (blue-blind)
#A8E1CF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #a8e87f;
/* rgb */ color: rgb(168, 232, 127);
/* oklch */ color: oklch(86.4% 0.151 134.3);
Tailwind
colors: {
  custom: {
    50: '#c4efa6',
    500: '#a8e87f',
    950: '#000000',
  },
}
SCSS
$custom: #a8e87f;
$custom-light: #c4efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8e87f",
  "rgb": {
    "r": 168,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 96.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86426,
    "c": 0.15094,
    "h": 134.3
  },
  "luminance": 0.6757
}

Semantic roles & 50–950 ramp

primary
#A8E87F
secondary
#934BC1
accent
#14D288
background
#FDFFFC
surface
#F9FEF6
border
#D2D6D0
text
#13160F
muted
#828580

Preview Lab

Preview with #A8E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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