#A2D978#A2D978

#A2D978 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.5% C 0.139 H 132.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#A2D978
RGBrgb(162, 217, 120)
HSLhsl(94, 56%, 66%)
HSVhsv(94, 45%, 85%)
CMYKcmyk(25.3%, 0%, 44.7%, 14.9%)
CIE-LABlab(81.11, -34.42, 42.06)
CIE-LCHlch(81.11, 54.34, 129.29°)
OKLaboklab(82.52% -0.0948 0.1021)
OKLCHoklch(82.52% 0.139 132.9)
XYZxyz(43.1025, 58.6620, 26.8176)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D978 #AF78D9
analogous
#D2D978 #A2D978 #78D97E
triadic
#A2D978 #78A2D9 #D978A2
tetradic
#A2D978 #78D2D9 #AF78D9 #D97E78
square
#A2D978 #78D2D9 #AF78D9 #D97E78
split-complementary
#A2D978 #7E78D9 #D978D2
monochromatic
#63A72F #81CC48 #A2D978 #C3E6A8 #E4F4D8

Accessibility & contrast

On white

1.65
#A2D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#A2D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D978
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D978#FFFFFF#000000##000000
##A2D9781.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC70
Deuteranopia (green-blind)
#D8C87E
Tritanopia (blue-blind)
#A3D2C2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a2d978;
/* rgb */ color: rgb(162, 217, 120);
/* oklch */ color: oklch(82.5% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#bfe5a0',
    500: '#a2d978',
    950: '#000000',
  },
}
SCSS
$custom: #a2d978;
$custom-light: #bfe5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d978",
  "rgb": {
    "r": 162,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 94.021,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82519,
    "c": 0.1393,
    "h": 132.9
  },
  "luminance": 0.58663
}

Semantic roles & 50–950 ramp

primary
#A2D978
secondary
#814AAB
accent
#22C47E
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A2D978

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

Preview Lab → · Contrast checker → · Palette generator →

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