#A2F571#A2F571

#A2F571 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 88.9% C 0.185 H 135.3°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#A2F571
RGBrgb(162, 245, 113)
HSLhsl(98, 87%, 70%)
HSVhsv(98, 54%, 96%)
CMYKcmyk(33.9%, 0%, 53.9%, 3.9%)
CIE-LABlab(89.01, -47.56, 54.97)
CIE-LCHlch(89.01, 72.69, 130.86°)
OKLaboklab(88.9% -0.1315 0.1302)
OKLCHoklch(88.9% 0.185 135.3)
XYZxyz(50.5322, 74.1763, 27.2745)
Luminance0.7418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F571 #C471F5
analogous
#E4F571 #A2F571 #71F582
triadic
#A2F571 #71A2F5 #F571A2
tetradic
#A2F571 #71E4F5 #C471F5 #F58271
square
#A2F571 #71E4F5 #C471F5 #F58271
split-complementary
#A2F571 #8271F5 #F571E4
monochromatic
#5BDC10 #7DF138 #A2F571 #C7F9AA #ECFDE2

Accessibility & contrast

On white

1.33
#A2F571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#A2F571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F571
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F571#FFFFFF#000000##000000
##A2F5711.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE464
Deuteranopia (green-blind)
#F1DD7A
Tritanopia (blue-blind)
#A1EDD8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #a2f571;
/* rgb */ color: rgb(162, 245, 113);
/* oklch */ color: oklch(88.9% 0.185 135.3);
Tailwind
colors: {
  custom: {
    50: '#c1f99d',
    500: '#a2f571',
    950: '#000000',
  },
}
SCSS
$custom: #a2f571;
$custom-light: #c1f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f571",
  "rgb": {
    "r": 162,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 97.727,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88899,
    "c": 0.18504,
    "h": 135.3
  },
  "luminance": 0.74178
}

Semantic roles & 50–950 ramp

primary
#A2F571
secondary
#983BCF
accent
#02E390
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F571

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

Preview Lab → · Contrast checker → · Palette generator →

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