#A2D342#A2D342

#A2D342 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.5% C 0.178 H 126.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#A2D342
RGBrgb(162, 211, 66)
HSLhsl(80, 62%, 54%)
HSVhsv(80, 69%, 83%)
CMYKcmyk(23.2%, 0%, 68.7%, 17.3%)
CIE-LABlab(78.85, -36.71, 63.46)
CIE-LCHlch(78.85, 73.31, 120.05°)
OKLaboklab(80.52% -0.1053 0.1431)
OKLCHoklch(80.52% 0.178 126.4)
XYZxyz(39.1781, 54.6626, 13.6401)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D342 #7342D3
analogous
#D3BC42 #A2D342 #5AD342
triadic
#A2D342 #42A2D3 #D342A2
tetradic
#A2D342 #42D3BC #7342D3 #D3425A
square
#A2D342 #42D3BC #7342D3 #D3425A
split-complementary
#A2D342 #425AD3 #BC42D3
monochromatic
#5D7D1D #82AF29 #A2D342 #BADF74 #D3EAA5

Accessibility & contrast

On white

1.76
#A2D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#A2D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D342
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D342#FFFFFF#000000##000000
##A2D3421.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#A8C9B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d342;
/* rgb */ color: rgb(162, 211, 66);
/* oklch */ color: oklch(80.5% 0.178 126.4);
Tailwind
colors: {
  custom: {
    50: '#c1e07e',
    500: '#a2d342',
    950: '#000000',
  },
}
SCSS
$custom: #a2d342;
$custom-light: #c1e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d342",
  "rgb": {
    "r": 162,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 80.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.17771,
    "h": 126.4
  },
  "luminance": 0.54663
}

Semantic roles & 50–950 ramp

primary
#A2D342
secondary
#503485
accent
#42E57A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D342

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

Preview Lab → · Contrast checker → · Palette generator →

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