#A2D951#A2D951

#A2D951 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.0% C 0.175 H 128.5°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#A2D951
RGBrgb(162, 217, 81)
HSLhsl(84, 64%, 58%)
HSVhsv(84, 63%, 85%)
CMYKcmyk(25.3%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.68, -38.34, 59.45)
CIE-LCHlch(80.68, 70.74, 122.82°)
OKLaboklab(82.04% -0.1085 0.1367)
OKLCHoklch(82.04% 0.175 128.5)
XYZxyz(41.1982, 57.9003, 16.7883)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D951 #8851D9
analogous
#D9CC51 #A2D951 #5ED951
triadic
#A2D951 #51A2D9 #D951A2
tetradic
#A2D951 #51D9CC #8851D9 #D9515E
square
#A2D951 #51D9CC #8851D9 #D9515E
split-complementary
#A2D951 #515ED9 #CC51D9
monochromatic
#63901F #85C22A #A2D951 #BDE483 #D8EFB5

Accessibility & contrast

On white

1.67
#A2D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#A2D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D951
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D951#FFFFFF#000000##000000
##A2D9511.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#A7D0BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d951;
/* rgb */ color: rgb(162, 217, 81);
/* oklch */ color: oklch(82.0% 0.175 128.5);
Tailwind
colors: {
  custom: {
    50: '#c1e587',
    500: '#a2d951',
    950: '#000000',
  },
}
SCSS
$custom: #a2d951;
$custom-light: #c1e587;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d951",
  "rgb": {
    "r": 162,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 84.265,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8204,
    "c": 0.17454,
    "h": 128.5
  },
  "luminance": 0.57901
}

Semantic roles & 50–950 ramp

primary
#A2D951
secondary
#5E3995
accent
#41E784
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D951

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

Preview Lab → · Contrast checker → · Palette generator →

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