#A2D862#A2D862

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

Color values

HEX#A2D862
RGBrgb(162, 216, 98)
HSLhsl(87, 60%, 62%)
HSVhsv(87, 55%, 85%)
CMYKcmyk(25%, 0%, 54.6%, 15.3%)
CIE-LABlab(80.56, -36.39, 51.87)
CIE-LCHlch(80.56, 63.36, 125.05°)
OKLaboklab(81.99% -0.1017 0.1222)
OKLCHoklch(81.99% 0.159 129.8)
XYZxyz(41.6604, 57.6740, 20.4902)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D862 #9862D8
analogous
#D8D362 #A2D862 #67D862
triadic
#A2D862 #62A2D8 #D862A2
tetradic
#A2D862 #62D8D3 #9862D8 #D86267
square
#A2D862 #62D8D3 #9862D8 #D86267
split-complementary
#A2D862 #6267D8 #D362D8
monochromatic
#659926 #85CA32 #A2D862 #BFE493 #DCF0C4

Accessibility & contrast

On white

1.68
#A2D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D862#FFFFFF#000000##000000
##A2D8621.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA56
Deuteranopia (green-blind)
#D9C76A
Tritanopia (blue-blind)
#A6D0BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d862;
/* rgb */ color: rgb(162, 216, 98);
/* oklch */ color: oklch(82.0% 0.159 129.8);
Tailwind
colors: {
  custom: {
    50: '#c0e492',
    500: '#a2d862',
    950: '#000000',
  },
}
SCSS
$custom: #a2d862;
$custom-light: #c0e492;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d862",
  "rgb": {
    "r": 162,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 87.458,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.15904,
    "h": 129.8
  },
  "luminance": 0.57675
}

Semantic roles & 50–950 ramp

primary
#A2D862
secondary
#6B409E
accent
#1EC86C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A2D862

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

Preview Lab → · Contrast checker → · Palette generator →

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