#A2D579#A2D579

#A2D579 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.6% C 0.132 H 132.4°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#A2D579
RGBrgb(162, 213, 121)
HSLhsl(93, 52%, 65%)
HSVhsv(93, 43%, 84%)
CMYKcmyk(23.9%, 0%, 43.2%, 16.5%)
CIE-LABlab(79.98, -32.44, 40.15)
CIE-LCHlch(79.98, 51.62, 128.94°)
OKLaboklab(81.62% -0.0892 0.0978)
OKLCHoklch(81.62% 0.132 132.4)
XYZxyz(42.1450, 56.6493, 26.7994)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D579 #AC79D5
analogous
#D0D579 #A2D579 #79D57E
triadic
#A2D579 #79A2D5 #D579A2
tetradic
#A2D579 #79D0D5 #AC79D5 #D57E79
square
#A2D579 #79D0D5 #AC79D5 #D57E79
split-complementary
#A2D579 #7E79D5 #D579D0
monochromatic
#64A132 #82C64A #A2D579 #C2E4A8 #E3F2D6

Accessibility & contrast

On white

1.70
#A2D579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#A2D579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D579
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D579#FFFFFF#000000##000000
##A2D5791.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC972
Deuteranopia (green-blind)
#D4C57E
Tritanopia (blue-blind)
#A3CEBF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a2d579;
/* rgb */ color: rgb(162, 213, 121);
/* oklch */ color: oklch(81.6% 0.132 132.4);
Tailwind
colors: {
  custom: {
    50: '#bfe2a1',
    500: '#a2d579',
    950: '#000000',
  },
}
SCSS
$custom: #a2d579;
$custom-light: #bfe2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d579",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 93.261,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81616,
    "c": 0.13241,
    "h": 132.4
  },
  "luminance": 0.5665
}

Semantic roles & 50–950 ramp

primary
#A2D579
secondary
#7E4DA5
accent
#26C07B
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A2D579

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

Preview Lab → · Contrast checker → · Palette generator →

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