#A1D840#A1D840

#A1D840 is a light, vivid yellow-green. Relative luminance 0.571; OKLCH L 81.6% C 0.186 H 127.5°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#A1D840
RGBrgb(161, 216, 64)
HSLhsl(82, 66%, 55%)
HSVhsv(82, 70%, 85%)
CMYKcmyk(25.5%, 0%, 70.4%, 15.3%)
CIE-LABlab(80.21, -39.45, 65.55)
CIE-LCHlch(80.21, 76.51, 121.04°)
OKLaboklab(81.6% -0.113 0.1473)
OKLCHoklch(81.6% 0.186 127.5)
XYZxyz(40.1793, 57.0582, 13.7460)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D840 #7740D8
analogous
#D8C340 #A1D840 #55D840
triadic
#A1D840 #40A1D8 #D840A1
tetradic
#A1D840 #40D8C3 #7740D8 #D84055
square
#A1D840 #40D8C3 #7740D8 #D84055
split-complementary
#A1D840 #4055D8 #C340D8
monochromatic
#5D831B #81B625 #A1D840 #BAE273 #D3EDA6

Accessibility & contrast

On white

1.69
#A1D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#A1D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D840
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D840#FFFFFF#000000##000000
##A1D8401.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#A7CEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a1d840;
/* rgb */ color: rgb(161, 216, 64);
/* oklch */ color: oklch(81.6% 0.186 127.5);
Tailwind
colors: {
  custom: {
    50: '#c1e47e',
    500: '#a1d840',
    950: '#000000',
  },
}
SCSS
$custom: #a1d840;
$custom-light: #c1e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d840",
  "rgb": {
    "r": 161,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 81.711,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81603,
    "c": 0.18559,
    "h": 127.5
  },
  "luminance": 0.57059
}

Semantic roles & 50–950 ramp

primary
#A1D840
secondary
#52338A
accent
#3FE97C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1D840

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

Preview Lab → · Contrast checker → · Palette generator →

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