#A2D942#A2D942

#A2D942 is a light, vivid yellow-green. Relative luminance 0.577; OKLCH L 81.9% C 0.185 H 127.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#A2D942
RGBrgb(162, 217, 66)
HSLhsl(82, 67%, 55%)
HSVhsv(82, 70%, 85%)
CMYKcmyk(25.3%, 0%, 69.6%, 14.9%)
CIE-LABlab(80.57, -39.40, 65.21)
CIE-LCHlch(80.57, 76.19, 121.14°)
OKLaboklab(81.91% -0.1127 0.1468)
OKLCHoklch(81.91% 0.185 127.5)
XYZxyz(40.6966, 57.6996, 14.1462)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D942 #7942D9
analogous
#D9C442 #A2D942 #56D942
triadic
#A2D942 #42A2D9 #D942A2
tetradic
#A2D942 #42D9C4 #7942D9 #D94256
square
#A2D942 #42D9C4 #7942D9 #D94256
split-complementary
#A2D942 #4256D9 #C442D9
monochromatic
#5F861B #83B925 #A2D942 #BBE375 #D4EDA8

Accessibility & contrast

On white

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

On black

12.54
#A2D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D942
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D942#FFFFFF#000000##000000
##A2D9421.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA29
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#A8CFBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d942;
/* rgb */ color: rgb(162, 217, 66);
/* oklch */ color: oklch(81.9% 0.185 127.5);
Tailwind
colors: {
  custom: {
    50: '#c1e57f',
    500: '#a2d942',
    950: '#000000',
  },
}
SCSS
$custom: #a2d942;
$custom-light: #c1e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d942",
  "rgb": {
    "r": 162,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 81.854,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81914,
    "c": 0.18508,
    "h": 127.5
  },
  "luminance": 0.577
}

Semantic roles & 50–950 ramp

primary
#A2D942
secondary
#54338C
accent
#3EE97D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D942

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

Preview Lab → · Contrast checker → · Palette generator →

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