#A8D540#A8D540

#A8D540 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.4% C 0.179 H 124.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#A8D540
RGBrgb(168, 213, 64)
HSLhsl(78, 64%, 54%)
HSVhsv(78, 70%, 84%)
CMYKcmyk(21.1%, 0%, 70%, 16.5%)
CIE-LABlab(79.77, -35.44, 65.25)
CIE-LCHlch(79.77, 74.25, 118.50°)
OKLaboklab(81.36% -0.1024 0.1465)
OKLCHoklch(81.36% 0.179 124.9)
XYZxyz(40.8684, 56.2830, 13.5601)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D540 #6D40D5
analogous
#D5B840 #A8D540 #5ED540
triadic
#A8D540 #40A8D5 #D540A8
tetradic
#A8D540 #40D5B8 #6D40D5 #D5405E
square
#A8D540 #40D5B8 #6D40D5 #D5405E
split-complementary
#A8D540 #405ED5 #B840D5
monochromatic
#617F1C #87B127 #A8D540 #BFE072 #D6EBA4

Accessibility & contrast

On white

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

On black

12.26
#A8D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D540
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D540#FFFFFF#000000##000000
##A8D5401.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C727
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#AFCBB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d540;
/* rgb */ color: rgb(168, 213, 64);
/* oklch */ color: oklch(81.4% 0.179 124.9);
Tailwind
colors: {
  custom: {
    50: '#c6e27e',
    500: '#a8d540',
    950: '#000000',
  },
}
SCSS
$custom: #a8d540;
$custom-light: #c6e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d540",
  "rgb": {
    "r": 168,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 78.121,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81358,
    "c": 0.17869,
    "h": 124.9
  },
  "luminance": 0.56283
}

Semantic roles & 50–950 ramp

primary
#A8D540
secondary
#4C3386
accent
#41E773
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D540

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

Preview Lab → · Contrast checker → · Palette generator →

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