#A8F97D#A8F97D

#A8F97D is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.3% C 0.177 H 135.8°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#A8F97D
RGBrgb(168, 249, 125)
HSLhsl(99, 91%, 73%)
HSVhsv(99, 50%, 98%)
CMYKcmyk(32.5%, 0%, 49.8%, 2.4%)
CIE-LABlab(90.58, -45.97, 51.42)
CIE-LCHlch(90.58, 68.98, 131.79°)
OKLaboklab(90.3% -0.1267 0.1232)
OKLCHoklch(90.3% 0.177 135.8)
XYZxyz(53.7245, 77.5547, 31.5369)
Luminance0.7756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F97D #CE7DF9
analogous
#E6F97D #A8F97D #7DF990
triadic
#A8F97D #7DA8F9 #F97DA8
tetradic
#A8F97D #7DE6F9 #CE7DF9 #F9907D
square
#A8F97D #7DE6F9 #CE7DF9 #F9907D
split-complementary
#A8F97D #907DF9 #F97DE6
monochromatic
#5BF00B #81F642 #A8F97D #CFFCB7 #EBFEE2

Accessibility & contrast

On white

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

On black

16.51
#A8F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F97D
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F97D#FFFFFF#000000##000000
##A8F97D1.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#F5E185
Tritanopia (blue-blind)
#A6F1DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a8f97d;
/* rgb */ color: rgb(168, 249, 125);
/* oklch */ color: oklch(90.3% 0.177 135.8);
Tailwind
colors: {
  custom: {
    50: '#c5fba5',
    500: '#a8f97d',
    950: '#000000',
  },
}
SCSS
$custom: #a8f97d;
$custom-light: #c5fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f97d",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 99.194,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90299,
    "c": 0.17673,
    "h": 135.8
  },
  "luminance": 0.77557
}

Semantic roles & 50–950 ramp

primary
#A8F97D
secondary
#A344D6
accent
#00E696
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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