#A2F970#A2F970

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

Color values

HEX#A2F970
RGBrgb(162, 249, 112)
HSLhsl(98, 92%, 71%)
HSVhsv(98, 55%, 98%)
CMYKcmyk(34.9%, 0%, 55%, 2.4%)
CIE-LABlab(90.14, -49.34, 56.75)
CIE-LCHlch(90.14, 75.20, 131.01°)
OKLaboklab(89.82% -0.1364 0.134)
OKLCHoklch(89.82% 0.191 135.5)
XYZxyz(51.6994, 76.6003, 27.3874)
Luminance0.7660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F970 #C770F9
analogous
#E7F970 #A2F970 #70F982
triadic
#A2F970 #70A2F9 #F970A2
tetradic
#A2F970 #70E7F9 #C770F9 #F98270
square
#A2F970 #70E7F9 #C770F9 #F98270
split-complementary
#A2F970 #8270F9 #F970E7
monochromatic
#5AE50A #7CF735 #A2F970 #C8FBAB #ECFEE2

Accessibility & contrast

On white

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

On black

16.32
#A2F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F970
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F970#FFFFFF#000000##000000
##A2F9701.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2f970;
/* rgb */ color: rgb(162, 249, 112);
/* oklch */ color: oklch(89.8% 0.191 135.5);
Tailwind
colors: {
  custom: {
    50: '#c2fc9d',
    500: '#a2f970',
    950: '#000000',
  },
}
SCSS
$custom: #a2f970;
$custom-light: #c2fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f970",
  "rgb": {
    "r": 162,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 98.102,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89817,
    "c": 0.19123,
    "h": 135.5
  },
  "luminance": 0.76603
}

Semantic roles & 50–950 ramp

primary
#A2F970
secondary
#9C39D4
accent
#00E692
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F970

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

Preview Lab → · Contrast checker → · Palette generator →

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