#A2F371#A2F371

#A2F371 is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 88.4% C 0.182 H 135.1°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#A2F371
RGBrgb(162, 243, 113)
HSLhsl(97, 84%, 70%)
HSVhsv(97, 53%, 95%)
CMYKcmyk(33.3%, 0%, 53.5%, 4.7%)
CIE-LABlab(88.43, -46.71, 54.29)
CIE-LCHlch(88.43, 71.62, 130.71°)
OKLaboklab(88.43% -0.1292 0.1287)
OKLCHoklch(88.43% 0.182 135.1)
XYZxyz(49.9304, 72.9728, 27.0739)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F371 #C271F3
analogous
#E3F371 #A2F371 #71F381
triadic
#A2F371 #71A2F3 #F371A2
tetradic
#A2F371 #71E3F3 #C271F3 #F38171
square
#A2F371 #71E3F3 #C271F3 #F38171
split-complementary
#A2F371 #8171F3 #F371E3
monochromatic
#5DD712 #7DEE39 #A2F371 #C7F8A9 #ECFDE2

Accessibility & contrast

On white

1.35
#A2F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#A2F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F371
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F371#FFFFFF#000000##000000
##A2F3711.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#EFDB7A
Tritanopia (blue-blind)
#A1EBD6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #a2f371;
/* rgb */ color: rgb(162, 243, 113);
/* oklch */ color: oklch(88.4% 0.182 135.1);
Tailwind
colors: {
  custom: {
    50: '#c1f79d',
    500: '#a2f371',
    950: '#000000',
  },
}
SCSS
$custom: #a2f371;
$custom-light: #c1f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f371",
  "rgb": {
    "r": 162,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 97.385,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88434,
    "c": 0.18236,
    "h": 135.1
  },
  "luminance": 0.72975
}

Semantic roles & 50–950 ramp

primary
#A2F371
secondary
#963BCD
accent
#05E18E
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F371

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

Preview Lab → · Contrast checker → · Palette generator →

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