#A2D04A#A2D04A

#A2D04A is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 79.9% C 0.168 H 126.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#A2D04A
RGBrgb(162, 208, 74)
HSLhsl(81, 59%, 55%)
HSVhsv(81, 64%, 82%)
CMYKcmyk(22.1%, 0%, 64.4%, 18.4%)
CIE-LABlab(78.04, -34.80, 59.49)
CIE-LCHlch(78.04, 68.92, 120.32°)
OKLaboklab(79.88% -0.0994 0.1359)
OKLCHoklch(79.88% 0.168 126.2)
XYZxyz(38.6923, 53.2870, 14.7242)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D04A #784AD0
analogous
#D0BB4A #A2D04A #5FD04A
triadic
#A2D04A #4AA2D0 #D04AA2
tetradic
#A2D04A #4AD0BB #784AD0 #D04A5F
square
#A2D04A #4AD0BB #784AD0 #D04A5F
split-complementary
#A2D04A #4A5FD0 #BB4AD0
monochromatic
#5E7F21 #83AF2E #A2D04A #BBDD7B #D4E9AB

Accessibility & contrast

On white

1.80
#A2D04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#A2D04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D04A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D04A#FFFFFF#000000##000000
##A2D04A1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#A8C7B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2d04a;
/* rgb */ color: rgb(162, 208, 74);
/* oklch */ color: oklch(79.9% 0.168 126.2);
Tailwind
colors: {
  custom: {
    50: '#c1de83',
    500: '#a2d04a',
    950: '#000000',
  },
}
SCSS
$custom: #a2d04a;
$custom-light: #c1de83;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d04a",
  "rgb": {
    "r": 162,
    "g": 208,
    "b": 74
  },
  "hsl": {
    "h": 80.597,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79885,
    "c": 0.16835,
    "h": 126.2
  },
  "luminance": 0.53288
}

Semantic roles & 50–950 ramp

primary
#A2D04A
secondary
#533886
accent
#46E27B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D04A

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

Preview Lab → · Contrast checker → · Palette generator →

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