#A2D040#A2D040

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

Color values

HEX#A2D040
RGBrgb(162, 208, 64)
HSLhsl(79, 61%, 53%)
HSVhsv(79, 69%, 82%)
CMYKcmyk(22.1%, 0%, 69.2%, 18.4%)
CIE-LABlab(77.97, -35.48, 63.31)
CIE-LCHlch(77.97, 72.57, 119.26°)
OKLaboklab(79.8% -0.1021 0.1425)
OKLCHoklch(79.8% 0.175 125.6)
XYZxyz(38.3818, 53.1628, 13.0888)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D040 #6E40D0
analogous
#D0B640 #A2D040 #5AD040
triadic
#A2D040 #40A2D0 #D040A2
tetradic
#A2D040 #40D0B6 #6E40D0 #D0405A
square
#A2D040 #40D0B6 #6E40D0 #D0405A
split-complementary
#A2D040 #405AD0 #B640D0
monochromatic
#5B781E #80A92A #A2D040 #BADC71 #D2E8A2

Accessibility & contrast

On white

1.81
#A2D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#A2D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D040
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D040#FFFFFF#000000##000000
##A2D0401.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#A9C6B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2d040;
/* rgb */ color: rgb(162, 208, 64);
/* oklch */ color: oklch(79.8% 0.175 125.6);
Tailwind
colors: {
  custom: {
    50: '#c1de7d',
    500: '#a2d040',
    950: '#000000',
  },
}
SCSS
$custom: #a2d040;
$custom-light: #c1de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d040",
  "rgb": {
    "r": 162,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 79.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79802,
    "c": 0.17534,
    "h": 125.6
  },
  "luminance": 0.53163
}

Semantic roles & 50–950 ramp

primary
#A2D040
secondary
#4C3480
accent
#44E477
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D040

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

Preview Lab → · Contrast checker → · Palette generator →

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