#A2DC51#A2DC51

#A2DC51 is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 82.7% C 0.178 H 129.0°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#A2DC51
RGBrgb(162, 220, 81)
HSLhsl(85, 67%, 59%)
HSVhsv(85, 63%, 86%)
CMYKcmyk(26.4%, 0%, 63.2%, 13.7%)
CIE-LABlab(81.54, -39.68, 60.38)
CIE-LCHlch(81.54, 72.25, 123.31°)
OKLaboklab(82.74% -0.1122 0.1387)
OKLCHoklch(82.74% 0.178 129)
XYZxyz(41.9785, 59.4609, 17.0484)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2DC51 #8B51DC
analogous
#DCD151 #A2DC51 #5DDC51
triadic
#A2DC51 #51A2DC #DC51A2
tetradic
#A2DC51 #51DCD1 #8B51DC #DC515D
square
#A2DC51 #51DCD1 #8B51DC #DC515D
split-complementary
#A2DC51 #515DDC #D151DC
monochromatic
#63951E #85C828 #A2DC51 #BDE684 #D8F0B7

Accessibility & contrast

On white

1.63
#A2DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#A2DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2DC51
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2DC51#FFFFFF#000000##000000
##A2DC511.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#A7D3BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #a2dc51;
/* rgb */ color: rgb(162, 220, 81);
/* oklch */ color: oklch(82.7% 0.178 129.0);
Tailwind
colors: {
  custom: {
    50: '#c1e788',
    500: '#a2dc51',
    950: '#000000',
  },
}
SCSS
$custom: #a2dc51;
$custom-light: #c1e788;
$custom-dark: #000000;
JSON
{
  "hex": "#a2dc51",
  "rgb": {
    "r": 162,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 85.036,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82739,
    "c": 0.17838,
    "h": 129
  },
  "luminance": 0.59462
}

Semantic roles & 50–950 ramp

primary
#A2DC51
secondary
#613899
accent
#3EE986
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A2DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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