#A2D562#A2D562

#A2D562 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.3% C 0.155 H 129.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A2D562
RGBrgb(162, 213, 98)
HSLhsl(87, 58%, 61%)
HSVhsv(87, 54%, 84%)
CMYKcmyk(23.9%, 0%, 54%, 16.5%)
CIE-LABlab(79.70, -35.02, 50.86)
CIE-LCHlch(79.70, 61.75, 124.55°)
OKLaboklab(81.3% -0.0979 0.1201)
OKLCHoklch(81.3% 0.155 129.2)
XYZxyz(40.8988, 56.1509, 20.2363)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D562 #9562D5
analogous
#D5CF62 #A2D562 #68D562
triadic
#A2D562 #62A2D5 #D562A2
tetradic
#A2D562 #62D5CF #9562D5 #D56268
square
#A2D562 #62D5CF #9562D5 #D56268
split-complementary
#A2D562 #6268D5 #CF62D5
monochromatic
#649528 #85C535 #A2D562 #BFE292 #DBEFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D562#FFFFFF#000000##000000
##A2D5621.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)
#DEC857
Deuteranopia (green-blind)
#D7C469
Tritanopia (blue-blind)
#A6CDBB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a2d562;
/* rgb */ color: rgb(162, 213, 98);
/* oklch */ color: oklch(81.3% 0.155 129.2);
Tailwind
colors: {
  custom: {
    50: '#c0e292',
    500: '#a2d562',
    950: '#000000',
  },
}
SCSS
$custom: #a2d562;
$custom-light: #c0e292;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d562",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 86.609,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81296,
    "c": 0.15495,
    "h": 129.2
  },
  "luminance": 0.56152
}

Semantic roles & 50–950 ramp

primary
#A2D562
secondary
#69419A
accent
#20C569
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #A2D562

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

Preview Lab → · Contrast checker → · Palette generator →

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