#A2D771#A2D771

#A2D771 is a light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.0% C 0.143 H 131.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#A2D771
RGBrgb(162, 215, 113)
HSLhsl(91, 56%, 64%)
HSVhsv(91, 47%, 84%)
CMYKcmyk(24.7%, 0%, 47.4%, 15.7%)
CIE-LABlab(80.45, -34.33, 44.65)
CIE-LCHlch(80.45, 56.32, 127.55°)
OKLaboklab(81.96% -0.095 0.1075)
OKLCHoklch(81.96% 0.143 131.5)
XYZxyz(42.1807, 57.4735, 24.4907)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D771 #A671D7
analogous
#D5D771 #A2D771 #71D773
triadic
#A2D771 #71A2D7 #D771A2
tetradic
#A2D771 #71D5D7 #A671D7 #D77371
square
#A2D771 #71D5D7 #A671D7 #D77371
split-complementary
#A2D771 #7371D7 #D771D5
monochromatic
#65A02D #83CA41 #A2D771 #C1E4A1 #E1F2D0

Accessibility & contrast

On white

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

On black

12.50
#A2D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D771
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D771#FFFFFF#000000##000000
##A2D7711.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA68
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#A4D0BF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d771;
/* rgb */ color: rgb(162, 215, 113);
/* oklch */ color: oklch(82.0% 0.143 131.5);
Tailwind
colors: {
  custom: {
    50: '#c0e39c',
    500: '#a2d771',
    950: '#000000',
  },
}
SCSS
$custom: #a2d771;
$custom-light: #c0e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d771",
  "rgb": {
    "r": 162,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 91.176,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.14344,
    "h": 131.5
  },
  "luminance": 0.57475
}

Semantic roles & 50–950 ramp

primary
#A2D771
secondary
#7848A4
accent
#22C476
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A2D771

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

Preview Lab → · Contrast checker → · Palette generator →

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