#A2F971#A2F971

#A2F971 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 89.8% C 0.190 H 135.6°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#A2F971
RGBrgb(162, 249, 113)
HSLhsl(98, 92%, 71%)
HSVhsv(98, 55%, 98%)
CMYKcmyk(34.9%, 0%, 54.6%, 2.4%)
CIE-LABlab(90.15, -49.24, 56.31)
CIE-LCHlch(90.15, 74.80, 131.16°)
OKLaboklab(89.83% -0.1361 0.1331)
OKLCHoklch(89.83% 0.19 135.6)
XYZxyz(51.7554, 76.6227, 27.6823)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F971 #C871F9
analogous
#E6F971 #A2F971 #71F984
triadic
#A2F971 #71A2F9 #F971A2
tetradic
#A2F971 #71E6F9 #C871F9 #F98471
square
#A2F971 #71E6F9 #C871F9 #F98471
split-complementary
#A2F971 #8471F9 #F971E6
monochromatic
#59E60A #7CF736 #A2F971 #C8FBAC #ECFEE2

Accessibility & contrast

On white

1.29
#A2F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#A2F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F971
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F971#FFFFFF#000000##000000
##A2F9711.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#A0F1DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a2f971;
/* rgb */ color: rgb(162, 249, 113);
/* oklch */ color: oklch(89.8% 0.190 135.6);
Tailwind
colors: {
  custom: {
    50: '#c2fc9d',
    500: '#a2f971',
    950: '#000000',
  },
}
SCSS
$custom: #a2f971;
$custom-light: #c2fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f971",
  "rgb": {
    "r": 162,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 98.382,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89828,
    "c": 0.19039,
    "h": 135.6
  },
  "luminance": 0.76625
}

Semantic roles & 50–950 ramp

primary
#A2F971
secondary
#9D3AD4
accent
#00E693
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F971

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

Preview Lab → · Contrast checker → · Palette generator →

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