#A2D787#A2D787

#A2D787 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.3% C 0.121 H 135.6°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#A2D787
RGBrgb(162, 215, 135)
HSLhsl(100, 50%, 69%)
HSVhsv(100, 37%, 84%)
CMYKcmyk(24.7%, 0%, 37.2%, 15.7%)
CIE-LABlab(80.76, -31.52, 34.09)
CIE-LCHlch(80.76, 46.43, 132.75°)
OKLaboklab(82.31% -0.0861 0.0844)
OKLCHoklch(82.31% 0.121 135.6)
XYZxyz(43.5728, 58.0303, 31.8222)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D787 #BC87D7
analogous
#CAD787 #A2D787 #87D794
triadic
#A2D787 #87A2D7 #D787A2
tetradic
#A2D787 #87CAD7 #BC87D7 #D79487
square
#A2D787 #87CAD7 #BC87D7 #D79487
split-complementary
#A2D787 #9487D7 #D787CA
monochromatic
#5FAB39 #7EC859 #A2D787 #C6E6B5 #E9F6E3

Accessibility & contrast

On white

1.67
#A2D787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#A2D787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D787
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D787#FFFFFF#000000##000000
##A2D7871.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB81
Deuteranopia (green-blind)
#D5C78B
Tritanopia (blue-blind)
#A1D1C3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d787;
/* rgb */ color: rgb(162, 215, 135);
/* oklch */ color: oklch(82.3% 0.121 135.6);
Tailwind
colors: {
  custom: {
    50: '#bfe3ab',
    500: '#a2d787',
    950: '#000000',
  },
}
SCSS
$custom: #a2d787;
$custom-light: #bfe3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d787",
  "rgb": {
    "r": 162,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 99.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82307,
    "c": 0.1206,
    "h": 135.6
  },
  "luminance": 0.58032
}

Semantic roles & 50–950 ramp

primary
#A2D787
secondary
#8F55AD
accent
#28BD8B
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#121510
muted
#828481

Preview Lab

Preview with #A2D787

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

Preview Lab → · Contrast checker → · Palette generator →

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