#A2CC87#A2CC87

#A2CC87 is a light, moderate yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.104 H 133.7°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#A2CC87
RGBrgb(162, 204, 135)
HSLhsl(97, 40%, 66%)
HSVhsv(97, 34%, 80%)
CMYKcmyk(20.6%, 0%, 33.8%, 20%)
CIE-LABlab(77.65, -26.28, 30.00)
CIE-LCHlch(77.65, 39.88, 131.21°)
OKLaboklab(79.81% -0.0716 0.0748)
OKLCHoklch(79.81% 0.104 133.7)
XYZxyz(40.8654, 52.6155, 30.9198)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC87 #B187CC
analogous
#C5CC87 #A2CC87 #87CC8F
triadic
#A2CC87 #87A2CC #CC87A2
tetradic
#A2CC87 #87C5CC #B187CC #CC8F87
square
#A2CC87 #87C5CC #B187CC #CC8F87
split-complementary
#A2CC87 #8F87CC #CC87C5
monochromatic
#639841 #81BA5C #A2CC87 #C3DEB2 #E5F1DD

Accessibility & contrast

On white

1.82
#A2CC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#A2CC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC87
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC87#FFFFFF#000000##000000
##A2CC871.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C282
Deuteranopia (green-blind)
#CBBF8B
Tritanopia (blue-blind)
#A3C7BA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cc87;
/* rgb */ color: rgb(162, 204, 135);
/* oklch */ color: oklch(79.8% 0.104 133.7);
Tailwind
colors: {
  custom: {
    50: '#bedbaa',
    500: '#a2cc87',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc87;
$custom-light: #bedbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc87",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 96.522,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.79805,
    "c": 0.10357,
    "h": 133.7
  },
  "luminance": 0.52616
}

Semantic roles & 50–950 ramp

primary
#A2CC87
secondary
#83599F
accent
#32B381
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#121510
muted
#828481

Preview Lab

Preview with #A2CC87

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

Preview Lab → · Contrast checker → · Palette generator →

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