#A2D252#A2D252

#A2D252 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.4% C 0.165 H 127.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#A2D252
RGBrgb(162, 210, 82)
HSLhsl(83, 59%, 57%)
HSVhsv(83, 61%, 82%)
CMYKcmyk(22.9%, 0%, 61%, 17.6%)
CIE-LABlab(78.68, -35.09, 56.84)
CIE-LCHlch(78.68, 66.80, 121.69°)
OKLaboklab(80.42% -0.0995 0.1313)
OKLCHoklch(80.42% 0.165 127.2)
XYZxyz(39.4698, 54.3831, 16.3985)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D252 #8252D2
analogous
#D2C252 #A2D252 #62D252
triadic
#A2D252 #52A2D2 #D252A2
tetradic
#A2D252 #52D2C2 #8252D2 #D25262
square
#A2D252 #52D2C2 #8252D2 #D25262
split-complementary
#A2D252 #5262D2 #C252D2
monochromatic
#618723 #84B730 #A2D252 #BCDF83 #D6EBB3

Accessibility & contrast

On white

1.77
#A2D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#A2D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D252
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D252#FFFFFF#000000##000000
##A2D2521.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#A8C9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d252;
/* rgb */ color: rgb(162, 210, 82);
/* oklch */ color: oklch(80.4% 0.165 127.2);
Tailwind
colors: {
  custom: {
    50: '#c0e088',
    500: '#a2d252',
    950: '#000000',
  },
}
SCSS
$custom: #a2d252;
$custom-light: #c0e088;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d252",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 82.5,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80424,
    "c": 0.16471,
    "h": 127.2
  },
  "luminance": 0.54384
}

Semantic roles & 50–950 ramp

primary
#A2D252
secondary
#5A3B8D
accent
#46E280
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D252

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

Preview Lab → · Contrast checker → · Palette generator →

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