#A1D542#A1D542

#A1D542 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 80.9% C 0.181 H 127.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#A1D542
RGBrgb(161, 213, 66)
HSLhsl(81, 64%, 55%)
HSVhsv(81, 69%, 84%)
CMYKcmyk(24.4%, 0%, 69%, 16.5%)
CIE-LABlab(79.36, -37.99, 63.96)
CIE-LCHlch(79.36, 74.39, 120.71°)
OKLaboklab(80.92% -0.1088 0.1442)
OKLCHoklch(80.92% 0.181 127)
XYZxyz(39.4756, 55.5582, 13.7972)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D542 #7642D5
analogous
#D5BF42 #A1D542 #58D542
triadic
#A1D542 #42A1D5 #D542A1
tetradic
#A1D542 #42D5BF #7642D5 #D54258
square
#A1D542 #42D5BF #7642D5 #D54258
split-complementary
#A1D542 #4258D5 #BF42D5
monochromatic
#5D801C #81B228 #A1D542 #BAE074 #D3EBA6

Accessibility & contrast

On white

1.73
#A1D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#A1D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D542
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D542#FFFFFF#000000##000000
##A1D5421.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#A7CBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a1d542;
/* rgb */ color: rgb(161, 213, 66);
/* oklch */ color: oklch(80.9% 0.181 127.0);
Tailwind
colors: {
  custom: {
    50: '#c1e27f',
    500: '#a1d542',
    950: '#000000',
  },
}
SCSS
$custom: #a1d542;
$custom-light: #c1e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d542",
  "rgb": {
    "r": 161,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 81.224,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80917,
    "c": 0.18064,
    "h": 127
  },
  "luminance": 0.55559
}

Semantic roles & 50–950 ramp

primary
#A1D542
secondary
#513487
accent
#41E77C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A1D542

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

Preview Lab → · Contrast checker → · Palette generator →

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