#A2D452#A2D452

#A2D452 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 80.9% C 0.167 H 127.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#A2D452
RGBrgb(162, 212, 82)
HSLhsl(83, 60%, 58%)
HSVhsv(83, 61%, 83%)
CMYKcmyk(23.6%, 0%, 61.3%, 16.9%)
CIE-LABlab(79.26, -36.00, 57.47)
CIE-LCHlch(79.26, 67.82, 122.07°)
OKLaboklab(80.89% -0.102 0.1326)
OKLCHoklch(80.89% 0.167 127.6)
XYZxyz(39.9667, 55.3768, 16.5642)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D452 #8452D4
analogous
#D4C552 #A2D452 #61D452
triadic
#A2D452 #52A2D4 #D452A2
tetradic
#A2D452 #52D4C5 #8452D4 #D45261
square
#A2D452 #52D4C5 #8452D4 #D45261
split-complementary
#A2D452 #5261D4 #C552D4
monochromatic
#628922 #85BA2E #A2D452 #BCE083 #D7ECB4

Accessibility & contrast

On white

1.74
#A2D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#A2D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D452
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D452#FFFFFF#000000##000000
##A2D4521.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#A7CBB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a2d452;
/* rgb */ color: rgb(162, 212, 82);
/* oklch */ color: oklch(80.9% 0.167 127.6);
Tailwind
colors: {
  custom: {
    50: '#c1e188',
    500: '#a2d452',
    950: '#000000',
  },
}
SCSS
$custom: #a2d452;
$custom-light: #c1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d452",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 83.077,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80888,
    "c": 0.1673,
    "h": 127.6
  },
  "luminance": 0.55378
}

Semantic roles & 50–950 ramp

primary
#A2D452
secondary
#5B3B90
accent
#44E382
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D452

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

Preview Lab → · Contrast checker → · Palette generator →

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