#A8D471#A8D471

#A8D471 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.7% C 0.136 H 128.7°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#A8D471
RGBrgb(168, 212, 113)
HSLhsl(87, 54%, 64%)
HSVhsv(87, 47%, 83%)
CMYKcmyk(20.8%, 0%, 46.7%, 16.9%)
CIE-LABlab(79.96, -30.74, 44.13)
CIE-LCHlch(79.96, 53.79, 124.86°)
OKLaboklab(81.66% -0.0853 0.1063)
OKLCHoklch(81.66% 0.136 128.7)
XYZxyz(42.6722, 56.6033, 24.2969)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D471 #9D71D4
analogous
#D4CF71 #A8D471 #76D471
triadic
#A8D471 #71A8D4 #D471A8
tetradic
#A8D471 #71D4CF #9D71D4 #D47176
square
#A8D471 #71D4CF #9D71D4 #D47176
split-complementary
#A8D471 #7176D4 #CF71D4
monochromatic
#6B9C2F #8BC642 #A8D471 #C5E2A0 #E2F0CF

Accessibility & contrast

On white

1.70
#A8D471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#A8D471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D471
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D471#FFFFFF#000000##000000
##A8D4711.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#D6C577
Tritanopia (blue-blind)
#ACCCBD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d471;
/* rgb */ color: rgb(168, 212, 113);
/* oklch */ color: oklch(81.7% 0.136 128.7);
Tailwind
colors: {
  custom: {
    50: '#c4e19c',
    500: '#a8d471',
    950: '#000000',
  },
}
SCSS
$custom: #a8d471;
$custom-light: #c4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d471",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 86.667,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81655,
    "c": 0.13626,
    "h": 128.7
  },
  "luminance": 0.56604
}

Semantic roles & 50–950 ramp

primary
#A8D471
secondary
#7049A0
accent
#25C16A
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #A8D471

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

Preview Lab → · Contrast checker → · Palette generator →

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