#A8D54A#A8D54A

#A8D54A is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.4% C 0.172 H 125.5°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#A8D54A
RGBrgb(168, 213, 74)
HSLhsl(79, 62%, 56%)
HSVhsv(79, 65%, 84%)
CMYKcmyk(21.1%, 0%, 65.3%, 16.5%)
CIE-LABlab(79.84, -34.79, 61.51)
CIE-LCHlch(79.84, 70.66, 119.49°)
OKLaboklab(81.44% -0.0997 0.14)
OKLCHoklch(81.44% 0.172 125.5)
XYZxyz(41.1789, 56.4072, 15.1955)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D54A #774AD5
analogous
#D5BC4A #A8D54A #63D54A
triadic
#A8D54A #4AA8D5 #D54AA8
tetradic
#A8D54A #4AD5BC #774AD5 #D54A63
square
#A8D54A #4AD5BC #774AD5 #D54A63
split-complementary
#A8D54A #4A63D5 #BC4AD5
monochromatic
#64861F #8AB72B #A8D54A #C0E17C #D8ECAD

Accessibility & contrast

On white

1.71
#A8D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#A8D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D54A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D54A#FFFFFF#000000##000000
##A8D54A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C837
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#AFCBB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d54a;
/* rgb */ color: rgb(168, 213, 74);
/* oklch */ color: oklch(81.4% 0.172 125.5);
Tailwind
colors: {
  custom: {
    50: '#c5e283',
    500: '#a8d54a',
    950: '#000000',
  },
}
SCSS
$custom: #a8d54a;
$custom-light: #c5e283;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d54a",
  "rgb": {
    "r": 168,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 79.424,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81438,
    "c": 0.1719,
    "h": 125.5
  },
  "luminance": 0.56408
}

Semantic roles & 50–950 ramp

primary
#A8D54A
secondary
#53378C
accent
#42E577
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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