#A2D842#A2D842

#A2D842 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.7% C 0.184 H 127.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#A2D842
RGBrgb(162, 216, 66)
HSLhsl(82, 66%, 55%)
HSVhsv(82, 69%, 85%)
CMYKcmyk(25%, 0%, 69.4%, 15.3%)
CIE-LABlab(80.28, -38.95, 64.92)
CIE-LCHlch(80.28, 75.71, 120.97°)
OKLaboklab(81.68% -0.1115 0.1462)
OKLCHoklch(81.68% 0.184 127.3)
XYZxyz(40.4396, 57.1857, 14.0606)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D842 #7842D8
analogous
#D8C342 #A2D842 #57D842
triadic
#A2D842 #42A2D8 #D842A2
tetradic
#A2D842 #42D8C3 #7842D8 #D84257
square
#A2D842 #42D8C3 #7842D8 #D84257
split-complementary
#A2D842 #4257D8 #C342D8
monochromatic
#5E841B #83B726 #A2D842 #BBE275 #D4EDA7

Accessibility & contrast

On white

1.69
#A2D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#A2D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D842
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D842#FFFFFF#000000##000000
##A2D8421.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92A
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#A8CEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d842;
/* rgb */ color: rgb(162, 216, 66);
/* oklch */ color: oklch(81.7% 0.184 127.3);
Tailwind
colors: {
  custom: {
    50: '#c1e47f',
    500: '#a2d842',
    950: '#000000',
  },
}
SCSS
$custom: #a2d842;
$custom-light: #c1e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d842",
  "rgb": {
    "r": 162,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 81.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81681,
    "c": 0.18386,
    "h": 127.3
  },
  "luminance": 0.57186
}

Semantic roles & 50–950 ramp

primary
#A2D842
secondary
#53338B
accent
#3FE97C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D842

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

Preview Lab → · Contrast checker → · Palette generator →

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