#A1DC52#A1DC52

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

Color values

HEX#A1DC52
RGBrgb(161, 220, 82)
HSLhsl(86, 66%, 59%)
HSVhsv(86, 63%, 86%)
CMYKcmyk(26.8%, 0%, 62.7%, 13.7%)
CIE-LABlab(81.50, -39.96, 59.90)
CIE-LCHlch(81.50, 72.01, 123.71°)
OKLaboklab(82.69% -0.1129 0.1378)
OKLCHoklch(82.69% 0.178 129.3)
XYZxyz(41.8139, 59.3716, 17.2379)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DC52 #8D52DC
analogous
#DCD252 #A1DC52 #5CDC52
triadic
#A1DC52 #52A1DC #DC52A1
tetradic
#A1DC52 #52DCD2 #8D52DC #DC525C
square
#A1DC52 #52DCD2 #8D52DC #DC525C
split-complementary
#A1DC52 #525CDC #D252DC
monochromatic
#62951E #84C829 #A1DC52 #BDE685 #D8F1B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1DC52#FFFFFF#000000##000000
##A1DC521.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)
#E6CD41
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#A5D3BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a1dc52;
/* rgb */ color: rgb(161, 220, 82);
/* oklch */ color: oklch(82.7% 0.178 129.3);
Tailwind
colors: {
  custom: {
    50: '#c0e788',
    500: '#a1dc52',
    950: '#000000',
  },
}
SCSS
$custom: #a1dc52;
$custom-light: #c0e788;
$custom-dark: #000000;
JSON
{
  "hex": "#a1dc52",
  "rgb": {
    "r": 161,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 85.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82687,
    "c": 0.17811,
    "h": 129.3
  },
  "luminance": 0.59373
}

Semantic roles & 50–950 ramp

primary
#A1DC52
secondary
#62389A
accent
#3FE988
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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