#A8D951#A8D951

#A8D951 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.4% C 0.172 H 126.7°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#A8D951
RGBrgb(168, 217, 81)
HSLhsl(82, 64%, 58%)
HSVhsv(82, 63%, 85%)
CMYKcmyk(22.6%, 0%, 62.7%, 14.9%)
CIE-LABlab(81.04, -36.09, 59.94)
CIE-LCHlch(81.04, 69.97, 121.05°)
OKLaboklab(82.42% -0.1027 0.1376)
OKLCHoklch(82.42% 0.172 126.7)
XYZxyz(42.4465, 58.5440, 16.8468)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D951 #8251D9
analogous
#D9C651 #A8D951 #64D951
triadic
#A8D951 #51A8D9 #D951A8
tetradic
#A8D951 #51D9C6 #8251D9 #D95164
square
#A8D951 #51D9C6 #8251D9 #D95164
split-complementary
#A8D951 #5164D9 #C651D9
monochromatic
#68901F #8CC22A #A8D951 #C1E483 #DAEFB5

Accessibility & contrast

On white

1.65
#A8D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#A8D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D951
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D951#FFFFFF#000000##000000
##A8D9511.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB40
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#AECFBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a8d951;
/* rgb */ color: rgb(168, 217, 81);
/* oklch */ color: oklch(82.4% 0.172 126.7);
Tailwind
colors: {
  custom: {
    50: '#c5e588',
    500: '#a8d951',
    950: '#000000',
  },
}
SCSS
$custom: #a8d951;
$custom-light: #c5e588;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d951",
  "rgb": {
    "r": 168,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 81.618,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82422,
    "c": 0.17172,
    "h": 126.7
  },
  "luminance": 0.58545
}

Semantic roles & 50–950 ramp

primary
#A8D951
secondary
#5A3995
accent
#41E77D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D951

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

Preview Lab → · Contrast checker → · Palette generator →

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