#A2D478#A2D478

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

Color values

HEX#A2D478
RGBrgb(162, 212, 120)
HSLhsl(93, 52%, 65%)
HSVhsv(93, 43%, 83%)
CMYKcmyk(23.6%, 0%, 43.4%, 16.9%)
CIE-LABlab(79.68, -32.10, 40.27)
CIE-LCHlch(79.68, 51.50, 128.56°)
OKLaboklab(81.37% -0.0883 0.098)
OKLCHoklch(81.37% 0.132 132)
XYZxyz(41.8332, 56.1234, 26.3945)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D478 #AA78D4
analogous
#D0D478 #A2D478 #78D47C
triadic
#A2D478 #78A2D4 #D478A2
tetradic
#A2D478 #78D0D4 #AA78D4 #D47C78
square
#A2D478 #78D0D4 #AA78D4 #D47C78
split-complementary
#A2D478 #7C78D4 #D478D0
monochromatic
#649F33 #82C54A #A2D478 #C2E3A6 #E2F2D5

Accessibility & contrast

On white

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

On black

12.22
#A2D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D478
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D478#FFFFFF#000000##000000
##A2D4781.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2d478;
/* rgb */ color: rgb(162, 212, 120);
/* oklch */ color: oklch(81.4% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#bfe1a0',
    500: '#a2d478',
    950: '#000000',
  },
}
SCSS
$custom: #a2d478;
$custom-light: #bfe1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d478",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 92.609,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81371,
    "c": 0.13198,
    "h": 132
  },
  "luminance": 0.56124
}

Semantic roles & 50–950 ramp

primary
#A2D478
secondary
#7C4DA4
accent
#26BF79
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A2D478

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

Preview Lab → · Contrast checker → · Palette generator →

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