#A8F97A#A8F97A

#A8F97A is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.3% C 0.179 H 135.4°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#A8F97A
RGBrgb(168, 249, 122)
HSLhsl(98, 91%, 73%)
HSVhsv(98, 51%, 98%)
CMYKcmyk(32.5%, 0%, 51%, 2.4%)
CIE-LABlab(90.54, -46.31, 52.77)
CIE-LCHlch(90.54, 70.21, 131.27°)
OKLaboklab(90.26% -0.1278 0.126)
OKLCHoklch(90.26% 0.179 135.4)
XYZxyz(53.5357, 77.4792, 30.5428)
Luminance0.7748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F97A #CB7AF9
analogous
#E7F97A #A8F97A #7AF98C
triadic
#A8F97A #7AA8F9 #F97AA8
tetradic
#A8F97A #7AE7F9 #CB7AF9 #F98C7A
square
#A8F97A #7AE7F9 #CB7AF9 #F98C7A
split-complementary
#A8F97A #8C7AF9 #F97AE7
monochromatic
#5DEE0B #82F63F #A8F97A #CEFCB5 #ECFEE2

Accessibility & contrast

On white

1.27
#A8F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#A8F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F97A
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F97A#FFFFFF#000000##000000
##A8F97A1.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#A7F1DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a8f97a;
/* rgb */ color: rgb(168, 249, 122);
/* oklch */ color: oklch(90.3% 0.179 135.4);
Tailwind
colors: {
  custom: {
    50: '#c5fba3',
    500: '#a8f97a',
    950: '#000000',
  },
}
SCSS
$custom: #a8f97a;
$custom-light: #c5fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f97a",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 98.268,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9026,
    "c": 0.17945,
    "h": 135.4
  },
  "luminance": 0.77481
}

Semantic roles & 50–950 ramp

primary
#A8F97A
secondary
#A042D5
accent
#00E692
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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