#A1D951#A1D951

#A1D951 is a light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.0% C 0.175 H 128.7°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#A1D951
RGBrgb(161, 217, 81)
HSLhsl(85, 64%, 58%)
HSVhsv(85, 63%, 85%)
CMYKcmyk(25.8%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.63, -38.71, 59.37)
CIE-LCHlch(80.63, 70.87, 123.10°)
OKLaboklab(81.98% -0.1095 0.1365)
OKLCHoklch(81.98% 0.175 128.7)
XYZxyz(40.9958, 57.7959, 16.7788)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D951 #8951D9
analogous
#D9CD51 #A1D951 #5DD951
triadic
#A1D951 #51A1D9 #D951A1
tetradic
#A1D951 #51D9CD #8951D9 #D9515D
square
#A1D951 #51D9CD #8951D9 #D9515D
split-complementary
#A1D951 #515DD9 #CD51D9
monochromatic
#62901F #84C22A #A1D951 #BCE483 #D7EFB5

Accessibility & contrast

On white

1.67
#A1D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#A1D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D951
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D951#FFFFFF#000000##000000
##A1D9511.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#A6D0BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a1d951;
/* rgb */ color: rgb(161, 217, 81);
/* oklch */ color: oklch(82.0% 0.175 128.7);
Tailwind
colors: {
  custom: {
    50: '#c0e587',
    500: '#a1d951',
    950: '#000000',
  },
}
SCSS
$custom: #a1d951;
$custom-light: #c0e587;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d951",
  "rgb": {
    "r": 161,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 84.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81978,
    "c": 0.17501,
    "h": 128.7
  },
  "luminance": 0.57797
}

Semantic roles & 50–950 ramp

primary
#A1D951
secondary
#5F3995
accent
#41E785
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D951

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

Preview Lab → · Contrast checker → · Palette generator →

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