#A2D042#A2D042

#A2D042 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.8% C 0.174 H 125.7°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#A2D042
RGBrgb(162, 208, 66)
HSLhsl(79, 60%, 54%)
HSVhsv(79, 68%, 82%)
CMYKcmyk(22.1%, 0%, 68.3%, 18.4%)
CIE-LABlab(77.98, -35.35, 62.58)
CIE-LCHlch(77.98, 71.87, 119.46°)
OKLaboklab(79.82% -0.1016 0.1413)
OKLCHoklch(79.82% 0.174 125.7)
XYZxyz(38.4397, 53.1860, 13.3940)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D042 #7042D0
analogous
#D0B742 #A2D042 #5BD042
triadic
#A2D042 #42A2D0 #D042A2
tetradic
#A2D042 #42D0B7 #7042D0 #D0425B
square
#A2D042 #42D0B7 #7042D0 #D0425B
split-complementary
#A2D042 #425BD0 #B742D0
monochromatic
#5C791E #81AA2A #A2D042 #BADC73 #D2E8A4

Accessibility & contrast

On white

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

On black

11.64
#A2D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D042
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D042#FFFFFF#000000##000000
##A2D0421.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#A9C6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2d042;
/* rgb */ color: rgb(162, 208, 66);
/* oklch */ color: oklch(79.8% 0.174 125.7);
Tailwind
colors: {
  custom: {
    50: '#c1de7e',
    500: '#a2d042',
    950: '#000000',
  },
}
SCSS
$custom: #a2d042;
$custom-light: #c1de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d042",
  "rgb": {
    "r": 162,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 79.437,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.17401,
    "h": 125.7
  },
  "luminance": 0.53186
}

Semantic roles & 50–950 ramp

primary
#A2D042
secondary
#4E3581
accent
#44E378
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D042

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

Preview Lab → · Contrast checker → · Palette generator →

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