#A2D371#A2D371

#A2D371 is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.0% C 0.138 H 130.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#A2D371
RGBrgb(162, 211, 113)
HSLhsl(90, 53%, 64%)
HSVhsv(90, 46%, 83%)
CMYKcmyk(23.2%, 0%, 46.4%, 17.3%)
CIE-LABlab(79.31, -32.48, 43.25)
CIE-LCHlch(79.31, 54.08, 126.90°)
OKLaboklab(81.04% -0.0898 0.1044)
OKLCHoklch(81.04% 0.138 130.7)
XYZxyz(41.1746, 55.4613, 24.1554)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D371 #A271D3
analogous
#D3D371 #A2D371 #71D371
triadic
#A2D371 #71A2D3 #D371A2
tetradic
#A2D371 #71D3D3 #A271D3 #D37171
square
#A2D371 #71D3D3 #A271D3 #D37171
split-complementary
#A2D371 #7171D3 #D371D3
monochromatic
#659A30 #83C542 #A2D371 #C1E1A0 #DFF0CE

Accessibility & contrast

On white

1.74
#A2D371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#A2D371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D371
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D371#FFFFFF#000000##000000
##A2D3711.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#D4C377
Tritanopia (blue-blind)
#A5CCBC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a2d371;
/* rgb */ color: rgb(162, 211, 113);
/* oklch */ color: oklch(81.0% 0.138 130.7);
Tailwind
colors: {
  custom: {
    50: '#bfe09b',
    500: '#a2d371',
    950: '#000000',
  },
}
SCSS
$custom: #a2d371;
$custom-light: #bfe09b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d371",
  "rgb": {
    "r": 162,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 90,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81036,
    "c": 0.13769,
    "h": 130.7
  },
  "luminance": 0.55462
}

Semantic roles & 50–950 ramp

primary
#A2D371
secondary
#74499F
accent
#25C073
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A2D371

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

Preview Lab → · Contrast checker → · Palette generator →

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