#A1D242#A1D242

#A1D242 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.2% C 0.177 H 126.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#A1D242
RGBrgb(161, 210, 66)
HSLhsl(80, 62%, 54%)
HSVhsv(80, 69%, 82%)
CMYKcmyk(23.3%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.50, -36.64, 63.08)
CIE-LCHlch(78.50, 72.95, 120.15°)
OKLaboklab(80.22% -0.1051 0.1424)
OKLCHoklch(80.22% 0.177 126.4)
XYZxyz(38.7280, 54.0630, 13.5480)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D242 #7342D2
analogous
#D2BB42 #A1D242 #59D242
triadic
#A1D242 #42A1D2 #D242A1
tetradic
#A1D242 #42D2BB #7342D2 #D24259
square
#A1D242 #42D2BB #7342D2 #D24259
split-complementary
#A1D242 #4259D2 #BB42D2
monochromatic
#5C7C1E #81AD29 #A1D242 #BADE73 #D2EAA5

Accessibility & contrast

On white

1.78
#A1D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#A1D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D242
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D242#FFFFFF#000000##000000
##A1D2421.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#A7C8B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a1d242;
/* rgb */ color: rgb(161, 210, 66);
/* oklch */ color: oklch(80.2% 0.177 126.4);
Tailwind
colors: {
  custom: {
    50: '#c0e07e',
    500: '#a1d242',
    950: '#000000',
  },
}
SCSS
$custom: #a1d242;
$custom-light: #c0e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d242",
  "rgb": {
    "r": 161,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 80.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80218,
    "c": 0.17695,
    "h": 126.4
  },
  "luminance": 0.54064
}

Semantic roles & 50–950 ramp

primary
#A1D242
secondary
#4F3484
accent
#43E57A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1D242

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

Preview Lab → · Contrast checker → · Palette generator →

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