#A5D981#A5D981

#A5D981 is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.8% C 0.128 H 133.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#A5D981
RGBrgb(165, 217, 129)
HSLhsl(95, 54%, 68%)
HSVhsv(95, 41%, 85%)
CMYKcmyk(24%, 0%, 40.6%, 14.9%)
CIE-LABlab(81.41, -32.21, 38.00)
CIE-LCHlch(81.41, 49.82, 130.29°)
OKLaboklab(82.85% -0.0883 0.0933)
OKLCHoklch(82.85% 0.128 133.5)
XYZxyz(44.2914, 59.2089, 29.8595)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D981 #B581D9
analogous
#D1D981 #A5D981 #81D989
triadic
#A5D981 #81A5D9 #D981A5
tetradic
#A5D981 #81D1D9 #B581D9 #D98981
square
#A5D981 #81D1D9 #B581D9 #D98981
split-complementary
#A5D981 #8981D9 #D981D1
monochromatic
#65AC34 #83CB52 #A5D981 #C7E7B0 #E8F5DF

Accessibility & contrast

On white

1.64
#A5D981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#A5D981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D981
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D981#FFFFFF#000000##000000
##A5D9811.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7A
Deuteranopia (green-blind)
#D8C986
Tritanopia (blue-blind)
#A6D3C3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a5d981;
/* rgb */ color: rgb(165, 217, 129);
/* oklch */ color: oklch(82.8% 0.128 133.5);
Tailwind
colors: {
  custom: {
    50: '#c1e5a7',
    500: '#a5d981',
    950: '#000000',
  },
}
SCSS
$custom: #a5d981;
$custom-light: #c1e5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d981",
  "rgb": {
    "r": 165,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 95.455,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82848,
    "c": 0.12845,
    "h": 133.5
  },
  "luminance": 0.5921
}

Semantic roles & 50–950 ramp

primary
#A5D981
secondary
#884FAF
accent
#24C181
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#12150F
muted
#828480

Preview Lab

Preview with #A5D981

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

Preview Lab → · Contrast checker → · Palette generator →

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