#A1D842#A1D842

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

Color values

HEX#A1D842
RGBrgb(161, 216, 66)
HSLhsl(82, 66%, 55%)
HSVhsv(82, 69%, 85%)
CMYKcmyk(25.5%, 0%, 69.4%, 15.3%)
CIE-LABlab(80.23, -39.33, 64.84)
CIE-LCHlch(80.23, 75.83, 121.24°)
OKLaboklab(81.62% -0.1125 0.146)
OKLCHoklch(81.62% 0.184 127.6)
XYZxyz(40.2372, 57.0813, 14.0511)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D842 #7942D8
analogous
#D8C442 #A1D842 #56D842
triadic
#A1D842 #42A1D8 #D842A1
tetradic
#A1D842 #42D8C4 #7942D8 #D84256
square
#A1D842 #42D8C4 #7942D8 #D84256
split-complementary
#A1D842 #4256D8 #C442D8
monochromatic
#5E841B #82B726 #A1D842 #BAE275 #D3EDA7

Accessibility & contrast

On white

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

On black

12.42
#A1D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D842
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D842#FFFFFF#000000##000000
##A1D8421.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1d842;
/* rgb */ color: rgb(161, 216, 66);
/* oklch */ color: oklch(81.6% 0.184 127.6);
Tailwind
colors: {
  custom: {
    50: '#c1e47f',
    500: '#a1d842',
    950: '#000000',
  },
}
SCSS
$custom: #a1d842;
$custom-light: #c1e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d842",
  "rgb": {
    "r": 161,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 82,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81618,
    "c": 0.18433,
    "h": 127.6
  },
  "luminance": 0.57082
}

Semantic roles & 50–950 ramp

primary
#A1D842
secondary
#53338B
accent
#3FE97D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A1D842

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

Preview Lab → · Contrast checker → · Palette generator →

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