#A1D942#A1D942

#A1D942 is a light, vivid yellow-green. Relative luminance 0.576; OKLCH L 81.9% C 0.186 H 127.8°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#A1D942
RGBrgb(161, 217, 66)
HSLhsl(82, 67%, 55%)
HSVhsv(82, 70%, 85%)
CMYKcmyk(25.8%, 0%, 69.6%, 14.9%)
CIE-LABlab(80.51, -39.77, 65.13)
CIE-LCHlch(80.51, 76.31, 121.41°)
OKLaboklab(81.85% -0.1137 0.1467)
OKLCHoklch(81.85% 0.186 127.8)
XYZxyz(40.4942, 57.5953, 14.1367)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D942 #7A42D9
analogous
#D9C642 #A1D942 #55D942
triadic
#A1D942 #42A1D9 #D942A1
tetradic
#A1D942 #42D9C6 #7A42D9 #D94255
square
#A1D942 #42D9C6 #7A42D9 #D94255
split-complementary
#A1D942 #4255D9 #C642D9
monochromatic
#5E861B #82B925 #A1D942 #BAE375 #D4EDA8

Accessibility & contrast

On white

1.68
#A1D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#A1D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D942
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D942#FFFFFF#000000##000000
##A1D9421.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA29
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#A7CFBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a1d942;
/* rgb */ color: rgb(161, 217, 66);
/* oklch */ color: oklch(81.9% 0.186 127.8);
Tailwind
colors: {
  custom: {
    50: '#c1e57f',
    500: '#a1d942',
    950: '#000000',
  },
}
SCSS
$custom: #a1d942;
$custom-light: #c1e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d942",
  "rgb": {
    "r": 161,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 82.252,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.18555,
    "h": 127.8
  },
  "luminance": 0.57596
}

Semantic roles & 50–950 ramp

primary
#A1D942
secondary
#54338C
accent
#3EE97E
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A1D942

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

Preview Lab → · Contrast checker → · Palette generator →

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