#A8D957#A8D957

#A8D957 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.5% C 0.167 H 127.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#A8D957
RGBrgb(168, 217, 87)
HSLhsl(83, 63%, 60%)
HSVhsv(83, 60%, 85%)
CMYKcmyk(22.6%, 0%, 59.9%, 14.9%)
CIE-LABlab(81.09, -35.61, 57.46)
CIE-LCHlch(81.09, 67.60, 121.79°)
OKLaboklab(82.48% -0.1009 0.1331)
OKLCHoklch(82.48% 0.167 127.2)
XYZxyz(42.6816, 58.6380, 18.0846)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D957 #8857D9
analogous
#D9C957 #A8D957 #67D957
triadic
#A8D957 #57A8D9 #D957A8
tetradic
#A8D957 #57D9C9 #8857D9 #D95767
square
#A8D957 #57D9C9 #8857D9 #D95767
split-complementary
#A8D957 #5767D9 #C957D9
monochromatic
#699421 #8CC62D #A8D957 #C2E489 #DCF0BB

Accessibility & contrast

On white

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

On black

12.73
#A8D957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D957
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D957#FFFFFF#000000##000000
##A8D9571.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#AED0BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a8d957;
/* rgb */ color: rgb(168, 217, 87);
/* oklch */ color: oklch(82.5% 0.167 127.2);
Tailwind
colors: {
  custom: {
    50: '#c5e58b',
    500: '#a8d957',
    950: '#000000',
  },
}
SCSS
$custom: #a8d957;
$custom-light: #c5e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d957",
  "rgb": {
    "r": 168,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 82.615,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.16697,
    "h": 127.2
  },
  "luminance": 0.58639
}

Semantic roles & 50–950 ramp

primary
#A8D957
secondary
#5F3B99
accent
#42E680
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D957

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

Preview Lab → · Contrast checker → · Palette generator →

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