#A1DF51#A1DF51

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

Color values

HEX#A1DF51
RGBrgb(161, 223, 81)
HSLhsl(86, 69%, 60%)
HSVhsv(86, 64%, 87%)
CMYKcmyk(27.8%, 0%, 63.7%, 12.5%)
CIE-LABlab(82.35, -41.36, 61.24)
CIE-LCHlch(82.35, 73.90, 124.04°)
OKLaboklab(83.38% -0.1168 0.1405)
OKLCHoklch(83.38% 0.183 129.7)
XYZxyz(42.5706, 60.9454, 17.3037)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DF51 #8F51DF
analogous
#DFD651 #A1DF51 #5ADF51
triadic
#A1DF51 #51A1DF #DF51A1
tetradic
#A1DF51 #51DFD6 #8F51DF #DF515A
square
#A1DF51 #51DFD6 #8F51DF #DF515A
split-complementary
#A1DF51 #515ADF #D651DF
monochromatic
#63991C #84CD26 #A1DF51 #BDE985 #D9F2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1DF51#FFFFFF#000000##000000
##A1DF511.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)
#E9D03F
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#A5D6C2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #a1df51;
/* rgb */ color: rgb(161, 223, 81);
/* oklch */ color: oklch(83.4% 0.183 129.7);
Tailwind
colors: {
  custom: {
    50: '#c1e988',
    500: '#a1df51',
    950: '#000000',
  },
}
SCSS
$custom: #a1df51;
$custom-light: #c1e988;
$custom-dark: #000000;
JSON
{
  "hex": "#a1df51",
  "rgb": {
    "r": 161,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 86.197,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83377,
    "c": 0.18269,
    "h": 129.7
  },
  "luminance": 0.60947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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