#A2D581#A2D581

#A2D581 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.7% C 0.124 H 133.9°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#A2D581
RGBrgb(162, 213, 129)
HSLhsl(96, 50%, 67%)
HSVhsv(96, 39%, 84%)
CMYKcmyk(23.9%, 0%, 39.4%, 16.5%)
CIE-LABlab(80.10, -31.40, 36.28)
CIE-LCHlch(80.10, 47.98, 130.87°)
OKLaboklab(81.75% -0.086 0.0893)
OKLCHoklch(81.75% 0.124 133.9)
XYZxyz(42.6561, 56.8538, 29.4911)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D581 #B481D5
analogous
#CCD581 #A2D581 #81D58A
triadic
#A2D581 #81A2D5 #D581A2
tetradic
#A2D581 #81CCD5 #B481D5 #D58A81
square
#A2D581 #81CCD5 #B481D5 #D58A81
split-complementary
#A2D581 #8A81D5 #D581CC
monochromatic
#62A537 #80C653 #A2D581 #C4E4AF #E6F4DD

Accessibility & contrast

On white

1.70
#A2D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#A2D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D581
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D581#FFFFFF#000000##000000
##A2D5811.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97B
Deuteranopia (green-blind)
#D4C586
Tritanopia (blue-blind)
#A2CFC0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d581;
/* rgb */ color: rgb(162, 213, 129);
/* oklch */ color: oklch(81.7% 0.124 133.9);
Tailwind
colors: {
  custom: {
    50: '#bfe2a6',
    500: '#a2d581',
    950: '#000000',
  },
}
SCSS
$custom: #a2d581;
$custom-light: #bfe2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d581",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 96.429,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81746,
    "c": 0.12398,
    "h": 133.9
  },
  "luminance": 0.56855
}

Semantic roles & 50–950 ramp

primary
#A2D581
secondary
#8651A9
accent
#28BD83
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#12150F
muted
#828480

Preview Lab

Preview with #A2D581

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

Preview Lab → · Contrast checker → · Palette generator →

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