#A2D971#A2D971

#A2D971 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.4% C 0.146 H 131.8°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#A2D971
RGBrgb(162, 217, 113)
HSLhsl(92, 58%, 65%)
HSVhsv(92, 48%, 85%)
CMYKcmyk(25.3%, 0%, 47.9%, 14.9%)
CIE-LABlab(81.02, -35.25, 45.35)
CIE-LCHlch(81.02, 57.44, 127.85°)
OKLaboklab(82.42% -0.0975 0.1091)
OKLCHoklch(82.42% 0.146 131.8)
XYZxyz(42.6931, 58.4982, 24.6615)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D971 #A871D9
analogous
#D6D971 #A2D971 #71D974
triadic
#A2D971 #71A2D9 #D971A2
tetradic
#A2D971 #71D6D9 #A871D9 #D97471
square
#A2D971 #71D6D9 #A871D9 #D97471
split-complementary
#A2D971 #7471D9 #D971D6
monochromatic
#64A42C #82CC41 #A2D971 #C2E6A1 #E1F3D2

Accessibility & contrast

On white

1.65
#A2D971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#A2D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D971
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D971#FFFFFF#000000##000000
##A2D9711.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC68
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#A4D2C1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a2d971;
/* rgb */ color: rgb(162, 217, 113);
/* oklch */ color: oklch(82.4% 0.146 131.8);
Tailwind
colors: {
  custom: {
    50: '#c0e59c',
    500: '#a2d971',
    950: '#000000',
  },
}
SCSS
$custom: #a2d971;
$custom-light: #c0e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d971",
  "rgb": {
    "r": 162,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 91.731,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.1463,
    "h": 131.8
  },
  "luminance": 0.58499
}

Semantic roles & 50–950 ramp

primary
#A2D971
secondary
#7A47A7
accent
#20C578
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A2D971

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

Preview Lab → · Contrast checker → · Palette generator →

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