#A2F771#A2F771

#A2F771 is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.4% C 0.188 H 135.5°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#A2F771
RGBrgb(162, 247, 113)
HSLhsl(98, 89%, 71%)
HSVhsv(98, 54%, 97%)
CMYKcmyk(34.4%, 0%, 54.3%, 3.1%)
CIE-LABlab(89.58, -48.40, 55.64)
CIE-LCHlch(89.58, 73.75, 131.02°)
OKLaboklab(89.36% -0.1338 0.1317)
OKLCHoklch(89.36% 0.188 135.5)
XYZxyz(51.1405, 75.3929, 27.4773)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F771 #C671F7
analogous
#E5F771 #A2F771 #71F783
triadic
#A2F771 #71A2F7 #F771A2
tetradic
#A2F771 #71E5F7 #C671F7 #F78371
square
#A2F771 #71E5F7 #C671F7 #F78371
split-complementary
#A2F771 #8371F7 #F771E5
monochromatic
#5AE10D #7CF437 #A2F771 #C8FAAB #ECFDE2

Accessibility & contrast

On white

1.31
#A2F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#A2F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F771
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F771#FFFFFF#000000##000000
##A2F7711.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#F3DF7A
Tritanopia (blue-blind)
#A0EFD9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #a2f771;
/* rgb */ color: rgb(162, 247, 113);
/* oklch */ color: oklch(89.4% 0.188 135.5);
Tailwind
colors: {
  custom: {
    50: '#c2fa9d',
    500: '#a2f771',
    950: '#000000',
  },
}
SCSS
$custom: #a2f771;
$custom-light: #c2fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f771",
  "rgb": {
    "r": 162,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 98.06,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89363,
    "c": 0.18772,
    "h": 135.5
  },
  "luminance": 0.75395
}

Semantic roles & 50–950 ramp

primary
#A2F771
secondary
#9A3AD2
accent
#00E692
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F771

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

Preview Lab → · Contrast checker → · Palette generator →

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