#A1DF52#A1DF52

#A1DF52 is a very light, vivid yellow-green. Relative luminance 0.610; OKLCH L 83.4% C 0.182 H 129.8°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#A1DF52
RGBrgb(161, 223, 82)
HSLhsl(86, 69%, 60%)
HSVhsv(86, 63%, 87%)
CMYKcmyk(27.8%, 0%, 63.2%, 12.5%)
CIE-LABlab(82.36, -41.29, 60.84)
CIE-LCHlch(82.36, 73.52, 124.16°)
OKLaboklab(83.39% -0.1165 0.1397)
OKLCHoklch(83.39% 0.182 129.8)
XYZxyz(42.6083, 60.9605, 17.5027)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DF52 #9052DF
analogous
#DFD652 #A1DF52 #5BDF52
triadic
#A1DF52 #52A1DF #DF52A1
tetradic
#A1DF52 #52DFD6 #9052DF #DF525B
square
#A1DF52 #52DFD6 #9052DF #DF525B
split-complementary
#A1DF52 #525BDF #D652DF
monochromatic
#639A1D #84CE26 #A1DF52 #BDE986 #D9F2B9

Accessibility & contrast

On white

1.59
#A1DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#A1DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1DF52
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1DF52#FFFFFF#000000##000000
##A1DF521.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#A5D6C2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #a1df52;
/* rgb */ color: rgb(161, 223, 82);
/* oklch */ color: oklch(83.4% 0.182 129.8);
Tailwind
colors: {
  custom: {
    50: '#c0e989',
    500: '#a1df52',
    950: '#000000',
  },
}
SCSS
$custom: #a1df52;
$custom-light: #c0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#a1df52",
  "rgb": {
    "r": 161,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 86.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.18195,
    "h": 129.8
  },
  "luminance": 0.60962
}

Semantic roles & 50–950 ramp

primary
#A1DF52
secondary
#64379E
accent
#3CEC89
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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