#A2F271#A2F271

#A2F271 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.2% C 0.181 H 135.0°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#A2F271
RGBrgb(162, 242, 113)
HSLhsl(97, 83%, 70%)
HSVhsv(97, 53%, 95%)
CMYKcmyk(33.1%, 0%, 53.3%, 5.1%)
CIE-LABlab(88.15, -46.28, 53.96)
CIE-LCHlch(88.15, 71.09, 130.62°)
OKLaboklab(88.2% -0.128 0.128)
OKLCHoklch(88.2% 0.181 135)
XYZxyz(49.6319, 72.3759, 26.9745)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F271 #C171F2
analogous
#E3F271 #A2F271 #71F280
triadic
#A2F271 #71A2F2 #F271A2
tetradic
#A2F271 #71E3F2 #C171F2 #F28071
square
#A2F271 #71E3F2 #C171F2 #F28071
split-complementary
#A2F271 #8071F2 #F271E3
monochromatic
#5DD514 #7DED39 #A2F271 #C7F7A9 #EBFCE1

Accessibility & contrast

On white

1.36
#A2F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#A2F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F271
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F271#FFFFFF#000000##000000
##A2F2711.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE165
Deuteranopia (green-blind)
#EFDB7A
Tritanopia (blue-blind)
#A1EAD5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a2f271;
/* rgb */ color: rgb(162, 242, 113);
/* oklch */ color: oklch(88.2% 0.181 135.0);
Tailwind
colors: {
  custom: {
    50: '#c1f79d',
    500: '#a2f271',
    950: '#000000',
  },
}
SCSS
$custom: #a2f271;
$custom-light: #c1f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f271",
  "rgb": {
    "r": 162,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 97.209,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88202,
    "c": 0.18101,
    "h": 135
  },
  "luminance": 0.72378
}

Semantic roles & 50–950 ramp

primary
#A2F271
secondary
#953CCB
accent
#06E08D
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F271

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

Preview Lab → · Contrast checker → · Palette generator →

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