#A1DF56#A1DF56

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

Color values

HEX#A1DF56
RGBrgb(161, 223, 86)
HSLhsl(87, 68%, 61%)
HSVhsv(87, 61%, 87%)
CMYKcmyk(27.8%, 0%, 61.4%, 12.5%)
CIE-LABlab(82.39, -40.96, 59.21)
CIE-LCHlch(82.39, 72.00, 124.68°)
OKLaboklab(83.42% -0.1153 0.1368)
OKLCHoklch(83.42% 0.179 130.1)
XYZxyz(42.7650, 61.0231, 18.3278)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1DF56 #9456DF
analogous
#DFD856 #A1DF56 #5CDF56
triadic
#A1DF56 #56A1DF #DF56A1
tetradic
#A1DF56 #56DFD8 #9456DF #DF565C
square
#A1DF56 #56DFD8 #9456DF #DF565C
split-complementary
#A1DF56 #565CDF #D856DF
monochromatic
#639D1E #84D027 #A1DF56 #BEE989 #DAF2BD

Accessibility & contrast

On white

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

On black

13.20
#A1DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1DF56
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1DF56#FFFFFF#000000##000000
##A1DF561.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1df56;
/* rgb */ color: rgb(161, 223, 86);
/* oklch */ color: oklch(83.4% 0.179 130.1);
Tailwind
colors: {
  custom: {
    50: '#c0e98b',
    500: '#a1df56',
    950: '#000000',
  },
}
SCSS
$custom: #a1df56;
$custom-light: #c0e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1df56",
  "rgb": {
    "r": 161,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 87.153,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83424,
    "c": 0.17889,
    "h": 130.1
  },
  "luminance": 0.61024
}

Semantic roles & 50–950 ramp

primary
#A1DF56
secondary
#6839A0
accent
#15D06A
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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