#A2D587#A2D587

#A2D587 is a light, moderate yellow-green. Relative luminance 0.570; OKLCH L 81.9% C 0.118 H 135.3°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#A2D587
RGBrgb(162, 213, 135)
HSLhsl(99, 48%, 68%)
HSVhsv(99, 37%, 84%)
CMYKcmyk(23.9%, 0%, 36.6%, 16.5%)
CIE-LABlab(80.19, -30.58, 33.35)
CIE-LCHlch(80.19, 45.25, 132.51°)
OKLaboklab(81.85% -0.0835 0.0827)
OKLCHoklch(81.85% 0.118 135.3)
XYZxyz(43.0666, 57.0180, 31.6535)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D587 #BA87D5
analogous
#C9D587 #A2D587 #87D593
triadic
#A2D587 #87A2D5 #D587A2
tetradic
#A2D587 #87C9D5 #BA87D5 #D59387
square
#A2D587 #87C9D5 #BA87D5 #D59387
split-complementary
#A2D587 #9387D5 #D587C9
monochromatic
#60A73A #7FC55A #A2D587 #C5E5B4 #E8F5E2

Accessibility & contrast

On white

1.69
#A2D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#A2D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D587
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D587#FFFFFF#000000##000000
##A2D5871.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA82
Deuteranopia (green-blind)
#D3C58B
Tritanopia (blue-blind)
#A2CFC1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d587;
/* rgb */ color: rgb(162, 213, 135);
/* oklch */ color: oklch(81.9% 0.118 135.3);
Tailwind
colors: {
  custom: {
    50: '#bfe2aa',
    500: '#a2d587',
    950: '#000000',
  },
}
SCSS
$custom: #a2d587;
$custom-light: #bfe2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d587",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 99.231,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.11754,
    "h": 135.3
  },
  "luminance": 0.57019
}

Semantic roles & 50–950 ramp

primary
#A2D587
secondary
#8D55AB
accent
#2ABB89
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#121510
muted
#828481

Preview Lab

Preview with #A2D587

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

Preview Lab → · Contrast checker → · Palette generator →

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