#A2F170#A2F170

#A2F170 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.0% C 0.181 H 134.8°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#A2F170
RGBrgb(162, 241, 112)
HSLhsl(97, 82%, 69%)
HSVhsv(97, 54%, 95%)
CMYKcmyk(32.8%, 0%, 53.5%, 5.5%)
CIE-LABlab(87.85, -45.96, 54.06)
CIE-LCHlch(87.85, 70.96, 130.37°)
OKLaboklab(87.96% -0.1272 0.1281)
OKLCHoklch(87.96% 0.181 134.8)
XYZxyz(49.2791, 71.7599, 26.5807)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F170 #BF70F1
analogous
#E3F170 #A2F170 #70F17F
triadic
#A2F170 #70A2F1 #F170A2
tetradic
#A2F170 #70E3F1 #BF70F1 #F17F70
square
#A2F170 #70E3F1 #BF70F1 #F17F70
split-complementary
#A2F170 #7F70F1 #F170E3
monochromatic
#5ED215 #7EEC38 #A2F170 #C6F6A8 #EBFCDF

Accessibility & contrast

On white

1.37
#A2F170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#A2F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F170
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F170#FFFFFF#000000##000000
##A2F1701.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E064
Deuteranopia (green-blind)
#EEDA79
Tritanopia (blue-blind)
#A1E9D4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #a2f170;
/* rgb */ color: rgb(162, 241, 112);
/* oklch */ color: oklch(88.0% 0.181 134.8);
Tailwind
colors: {
  custom: {
    50: '#c1f69c',
    500: '#a2f170',
    950: '#000000',
  },
}
SCSS
$custom: #a2f170;
$custom-light: #c1f69c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f170",
  "rgb": {
    "r": 162,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 96.744,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87957,
    "c": 0.18054,
    "h": 134.8
  },
  "luminance": 0.71762
}

Semantic roles & 50–950 ramp

primary
#A2F170
secondary
#933BCA
accent
#07DF8B
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F170

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

Preview Lab → · Contrast checker → · Palette generator →

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