#A2F671#A2F671

#A2F671 is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.1% C 0.186 H 135.4°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#A2F671
RGBrgb(162, 246, 113)
HSLhsl(98, 88%, 70%)
HSVhsv(98, 54%, 96%)
CMYKcmyk(34.1%, 0%, 54.1%, 3.5%)
CIE-LABlab(89.29, -47.98, 55.31)
CIE-LCHlch(89.29, 73.22, 130.94°)
OKLaboklab(89.13% -0.1326 0.1309)
OKLCHoklch(89.13% 0.186 135.4)
XYZxyz(50.8355, 74.7830, 27.3756)
Luminance0.7479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F671 #C571F6
analogous
#E4F671 #A2F671 #71F683
triadic
#A2F671 #71A2F6 #F671A2
tetradic
#A2F671 #71E4F6 #C571F6 #F68371
square
#A2F671 #71E4F6 #C571F6 #F68371
split-complementary
#A2F671 #8371F6 #F671E4
monochromatic
#5BDE0E #7CF237 #A2F671 #C8FAAB #ECFDE2

Accessibility & contrast

On white

1.32
#A2F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#A2F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F671
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F671#FFFFFF#000000##000000
##A2F6711.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#A0EED8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #a2f671;
/* rgb */ color: rgb(162, 246, 113);
/* oklch */ color: oklch(89.1% 0.186 135.4);
Tailwind
colors: {
  custom: {
    50: '#c1f99d',
    500: '#a2f671',
    950: '#000000',
  },
}
SCSS
$custom: #a2f671;
$custom-light: #c1f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f671",
  "rgb": {
    "r": 162,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 97.895,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89131,
    "c": 0.18638,
    "h": 135.4
  },
  "luminance": 0.74785
}

Semantic roles & 50–950 ramp

primary
#A2F671
secondary
#993BD0
accent
#01E591
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F671

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

Preview Lab → · Contrast checker → · Palette generator →

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