#A1D940#A1D940

#A1D940 is a light, vivid yellow-green. Relative luminance 0.576; OKLCH L 81.8% C 0.187 H 127.7°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#A1D940
RGBrgb(161, 217, 64)
HSLhsl(82, 67%, 55%)
HSVhsv(82, 71%, 85%)
CMYKcmyk(25.8%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.50, -39.90, 65.84)
CIE-LCHlch(80.50, 76.99, 121.21°)
OKLaboklab(81.84% -0.1142 0.1479)
OKLCHoklch(81.84% 0.187 127.7)
XYZxyz(40.4362, 57.5721, 13.8316)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D940 #7840D9
analogous
#D9C540 #A1D940 #54D940
triadic
#A1D940 #40A1D9 #D940A1
tetradic
#A1D940 #40D9C5 #7840D9 #D94054
square
#A1D940 #40D9C5 #7840D9 #D94054
split-complementary
#A1D940 #4054D9 #C540D9
monochromatic
#5D841A #82B724 #A1D940 #BAE373 #D3EDA6

Accessibility & contrast

On white

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

On black

12.51
#A1D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D940
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D940#FFFFFF#000000##000000
##A1D9401.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1d940;
/* rgb */ color: rgb(161, 217, 64);
/* oklch */ color: oklch(81.8% 0.187 127.7);
Tailwind
colors: {
  custom: {
    50: '#c1e57e',
    500: '#a1d940',
    950: '#000000',
  },
}
SCSS
$custom: #a1d940;
$custom-light: #c1e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d940",
  "rgb": {
    "r": 161,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 81.961,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.18681,
    "h": 127.7
  },
  "luminance": 0.57573
}

Semantic roles & 50–950 ramp

primary
#A1D940
secondary
#53328B
accent
#3EEA7D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A1D940

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

Preview Lab → · Contrast checker → · Palette generator →

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