#A1DC51#A1DC51

#A1DC51 is a very light, vivid yellow-green. Relative luminance 0.594; OKLCH L 82.7% C 0.179 H 129.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#A1DC51
RGBrgb(161, 220, 81)
HSLhsl(85, 67%, 59%)
HSVhsv(85, 63%, 86%)
CMYKcmyk(26.8%, 0%, 63.2%, 13.7%)
CIE-LABlab(81.49, -40.04, 60.30)
CIE-LCHlch(81.49, 72.39, 123.58°)
OKLaboklab(82.68% -0.1132 0.1385)
OKLCHoklch(82.68% 0.179 129.3)
XYZxyz(41.7761, 59.3565, 17.0389)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DC51 #8C51DC
analogous
#DCD251 #A1DC51 #5CDC51
triadic
#A1DC51 #51A1DC #DC51A1
tetradic
#A1DC51 #51DCD2 #8C51DC #DC515C
square
#A1DC51 #51DCD2 #8C51DC #DC515C
split-complementary
#A1DC51 #515CDC #D251DC
monochromatic
#62951E #84C828 #A1DC51 #BDE684 #D8F0B7

Accessibility & contrast

On white

1.63
#A1DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#A1DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1DC51
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1DC51#FFFFFF#000000##000000
##A1DC511.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#A5D3BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a1dc51;
/* rgb */ color: rgb(161, 220, 81);
/* oklch */ color: oklch(82.7% 0.179 129.3);
Tailwind
colors: {
  custom: {
    50: '#c0e788',
    500: '#a1dc51',
    950: '#000000',
  },
}
SCSS
$custom: #a1dc51;
$custom-light: #c0e788;
$custom-dark: #000000;
JSON
{
  "hex": "#a1dc51",
  "rgb": {
    "r": 161,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 85.468,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82677,
    "c": 0.17886,
    "h": 129.3
  },
  "luminance": 0.59358
}

Semantic roles & 50–950 ramp

primary
#A1DC51
secondary
#613899
accent
#3EE987
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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