#A2D242#A2D242

#A2D242 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.3% C 0.176 H 126.1°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#A2D242
RGBrgb(162, 210, 66)
HSLhsl(80, 62%, 54%)
HSVhsv(80, 69%, 82%)
CMYKcmyk(22.9%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.56, -36.26, 63.16)
CIE-LCHlch(78.56, 72.83, 119.86°)
OKLaboklab(80.28% -0.1041 0.1425)
OKLCHoklch(80.28% 0.176 126.1)
XYZxyz(38.9304, 54.1673, 13.5575)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D242 #7242D2
analogous
#D2BA42 #A2D242 #5AD242
triadic
#A2D242 #42A2D2 #D242A2
tetradic
#A2D242 #42D2BA #7242D2 #D2425A
square
#A2D242 #42D2BA #7242D2 #D2425A
split-complementary
#A2D242 #425AD2 #BA42D2
monochromatic
#5D7C1E #81AD29 #A2D242 #BADE73 #D3EAA5

Accessibility & contrast

On white

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

On black

11.83
#A2D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D242
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D242#FFFFFF#000000##000000
##A2D2421.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#A9C8B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d242;
/* rgb */ color: rgb(162, 210, 66);
/* oklch */ color: oklch(80.3% 0.176 126.1);
Tailwind
colors: {
  custom: {
    50: '#c1e07e',
    500: '#a2d242',
    950: '#000000',
  },
}
SCSS
$custom: #a2d242;
$custom-light: #c1e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d242",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 80,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80283,
    "c": 0.17648,
    "h": 126.1
  },
  "luminance": 0.54168
}

Semantic roles & 50–950 ramp

primary
#A2D242
secondary
#4F3484
accent
#43E579
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D242

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

Preview Lab → · Contrast checker → · Palette generator →

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