#A1DF57#A1DF57

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

Color values

HEX#A1DF57
RGBrgb(161, 223, 87)
HSLhsl(87, 68%, 61%)
HSVhsv(87, 61%, 87%)
CMYKcmyk(27.8%, 0%, 61%, 12.5%)
CIE-LABlab(82.40, -40.88, 58.80)
CIE-LCHlch(82.40, 71.61, 124.81°)
OKLaboklab(83.43% -0.115 0.136)
OKLCHoklch(83.43% 0.178 130.2)
XYZxyz(42.8056, 61.0394, 18.5415)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DF57 #9557DF
analogous
#DFD957 #A1DF57 #5DDF57
triadic
#A1DF57 #57A1DF #DF57A1
tetradic
#A1DF57 #57DFD9 #9557DF #DF575D
square
#A1DF57 #57DFD9 #9557DF #DF575D
split-complementary
#A1DF57 #575DDF #D957DF
monochromatic
#639E1E #84D128 #A1DF57 #BEE98A #DBF3BE

Accessibility & contrast

On white

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

On black

13.21
#A1DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1DF57
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1DF57#FFFFFF#000000##000000
##A1DF571.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1df57;
/* rgb */ color: rgb(161, 223, 87);
/* oklch */ color: oklch(83.4% 0.178 130.2);
Tailwind
colors: {
  custom: {
    50: '#c0e98b',
    500: '#a1df57',
    950: '#000000',
  },
}
SCSS
$custom: #a1df57;
$custom-light: #c0e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1df57",
  "rgb": {
    "r": 161,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 87.353,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83434,
    "c": 0.17811,
    "h": 130.2
  },
  "luminance": 0.61041
}

Semantic roles & 50–950 ramp

primary
#A1DF57
secondary
#6939A1
accent
#16D06B
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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