#A8F87F#A8F87F

#A8F87F is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.1% C 0.174 H 136.0°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#A8F87F
RGBrgb(168, 248, 127)
HSLhsl(100, 90%, 74%)
HSVhsv(100, 49%, 97%)
CMYKcmyk(32.3%, 0%, 48.8%, 2.7%)
CIE-LABlab(90.32, -45.31, 50.18)
CIE-LCHlch(90.32, 67.61, 132.08°)
OKLaboklab(90.1% -0.1247 0.1206)
OKLCHoklch(90.1% 0.174 136)
XYZxyz(53.5453, 76.9898, 32.1138)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F87F #CF7FF8
analogous
#E5F87F #A8F87F #7FF892
triadic
#A8F87F #7FA8F8 #F87FA8
tetradic
#A8F87F #7FE5F8 #CF7FF8 #F8927F
square
#A8F87F #7FE5F8 #CF7FF8 #F8927F
split-complementary
#A8F87F #927FF8 #F87FE5
monochromatic
#5AF00D #81F545 #A8F87F #CFFBB9 #EBFDE2

Accessibility & contrast

On white

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

On black

16.40
#A8F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F87F
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F87F#FFFFFF#000000##000000
##A8F87F1.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE875
Deuteranopia (green-blind)
#F4E187
Tritanopia (blue-blind)
#A6F0DC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a8f87f;
/* rgb */ color: rgb(168, 248, 127);
/* oklch */ color: oklch(90.1% 0.174 136.0);
Tailwind
colors: {
  custom: {
    50: '#c5fba6',
    500: '#a8f87f',
    950: '#000000',
  },
}
SCSS
$custom: #a8f87f;
$custom-light: #c5fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f87f",
  "rgb": {
    "r": 168,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 99.669,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90096,
    "c": 0.17351,
    "h": 136
  },
  "luminance": 0.76992
}

Semantic roles & 50–950 ramp

primary
#A8F87F
secondary
#A546D5
accent
#00E698
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#131710
muted
#828580

Preview Lab

Preview with #A8F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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