#A2D479#A2D479

#A2D479 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.4% C 0.131 H 132.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A2D479
RGBrgb(162, 212, 121)
HSLhsl(93, 51%, 65%)
HSVhsv(93, 43%, 83%)
CMYKcmyk(23.6%, 0%, 42.9%, 16.9%)
CIE-LABlab(79.70, -31.97, 39.79)
CIE-LCHlch(79.70, 51.04, 128.78°)
OKLaboklab(81.39% -0.0879 0.097)
OKLCHoklch(81.39% 0.131 132.2)
XYZxyz(41.8942, 56.1478, 26.7158)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D479 #AB79D4
analogous
#CFD479 #A2D479 #79D47D
triadic
#A2D479 #79A2D4 #D479A2
tetradic
#A2D479 #79CFD4 #AB79D4 #D47D79
square
#A2D479 #79CFD4 #AB79D4 #D47D79
split-complementary
#A2D479 #7D79D4 #D479CF
monochromatic
#649F33 #82C54B #A2D479 #C2E3A7 #E2F2D6

Accessibility & contrast

On white

1.72
#A2D479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#A2D479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D479
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D479#FFFFFF#000000##000000
##A2D4791.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC872
Deuteranopia (green-blind)
#D4C47E
Tritanopia (blue-blind)
#A4CDBE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a2d479;
/* rgb */ color: rgb(162, 212, 121);
/* oklch */ color: oklch(81.4% 0.131 132.2);
Tailwind
colors: {
  custom: {
    50: '#bfe1a1',
    500: '#a2d479',
    950: '#000000',
  },
}
SCSS
$custom: #a2d479;
$custom-light: #bfe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d479",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 92.967,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81387,
    "c": 0.13094,
    "h": 132.2
  },
  "luminance": 0.56149
}

Semantic roles & 50–950 ramp

primary
#A2D479
secondary
#7D4DA4
accent
#27BF7A
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A2D479

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

Preview Lab → · Contrast checker → · Palette generator →

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