#A2DF52#A2DF52

#A2DF52 is a very light, vivid yellow-green. Relative luminance 0.611; OKLCH L 83.4% C 0.181 H 129.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#A2DF52
RGBrgb(162, 223, 82)
HSLhsl(86, 69%, 60%)
HSVhsv(86, 63%, 87%)
CMYKcmyk(27.4%, 0%, 63.2%, 12.5%)
CIE-LABlab(82.41, -40.92, 60.91)
CIE-LCHlch(82.41, 73.38, 123.89°)
OKLaboklab(83.45% -0.1156 0.1399)
OKLCHoklch(83.45% 0.181 129.6)
XYZxyz(42.8107, 61.0648, 17.5122)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2DF52 #8F52DF
analogous
#DFD552 #A2DF52 #5CDF52
triadic
#A2DF52 #52A2DF #DF52A2
tetradic
#A2DF52 #52DFD5 #8F52DF #DF525C
square
#A2DF52 #52DFD5 #8F52DF #DF525C
split-complementary
#A2DF52 #525CDF #D552DF
monochromatic
#649A1D #85CE26 #A2DF52 #BEE986 #DAF2B9

Accessibility & contrast

On white

1.59
#A2DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#A2DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2DF52
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2DF52#FFFFFF#000000##000000
##A2DF521.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E0CC5D
Tritanopia (blue-blind)
#A6D6C2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #a2df52;
/* rgb */ color: rgb(162, 223, 82);
/* oklch */ color: oklch(83.4% 0.181 129.6);
Tailwind
colors: {
  custom: {
    50: '#c1e989',
    500: '#a2df52',
    950: '#000000',
  },
}
SCSS
$custom: #a2df52;
$custom-light: #c1e989;
$custom-dark: #000000;
JSON
{
  "hex": "#a2df52",
  "rgb": {
    "r": 162,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 85.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83447,
    "c": 0.18146,
    "h": 129.6
  },
  "luminance": 0.61066
}

Semantic roles & 50–950 ramp

primary
#A2DF52
secondary
#64379E
accent
#3CEC88
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A2DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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