#A8FA7D#A8FA7D

#A8FA7D is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.5% C 0.178 H 135.9°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#A8FA7D
RGBrgb(168, 250, 125)
HSLhsl(99, 93%, 74%)
HSVhsv(99, 50%, 98%)
CMYKcmyk(32.8%, 0%, 50%, 2%)
CIE-LABlab(90.86, -46.40, 51.77)
CIE-LCHlch(90.86, 69.52, 131.87°)
OKLaboklab(90.53% -0.1278 0.124)
OKLCHoklch(90.53% 0.178 135.9)
XYZxyz(54.0344, 78.1745, 31.6402)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8FA7D #CF7DFA
analogous
#E6FA7D #A8FA7D #7DFA90
triadic
#A8FA7D #7DA8FA #FA7DA8
tetradic
#A8FA7D #7DE6FA #CF7DFA #FA907D
square
#A8FA7D #7DE6FA #CF7DFA #FA907D
split-complementary
#A8FA7D #907DFA #FA7DE6
monochromatic
#5AF309 #81F842 #A8FA7D #CFFCB8 #EBFEE2

Accessibility & contrast

On white

1.26
#A8FA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#A8FA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8FA7D
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8FA7D#FFFFFF#000000##000000
##A8FA7D1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE972
Deuteranopia (green-blind)
#F6E285
Tritanopia (blue-blind)
#A6F2DD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #a8fa7d;
/* rgb */ color: rgb(168, 250, 125);
/* oklch */ color: oklch(90.5% 0.178 135.9);
Tailwind
colors: {
  custom: {
    50: '#c5fca5',
    500: '#a8fa7d',
    950: '#000000',
  },
}
SCSS
$custom: #a8fa7d;
$custom-light: #c5fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8fa7d",
  "rgb": {
    "r": 168,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 99.36,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90529,
    "c": 0.17811,
    "h": 135.9
  },
  "luminance": 0.78177
}

Semantic roles & 50–950 ramp

primary
#A8FA7D
secondary
#A544D7
accent
#00E697
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8FA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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