#A2C987#A2C987

#A2C987 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.1% C 0.099 H 133.1°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#A2C987
RGBrgb(162, 201, 135)
HSLhsl(95, 38%, 66%)
HSVhsv(95, 33%, 79%)
CMYKcmyk(19.4%, 0%, 32.8%, 21.2%)
CIE-LABlab(76.80, -24.82, 28.88)
CIE-LCHlch(76.80, 38.08, 130.67°)
OKLaboklab(79.13% -0.0676 0.0722)
OKLCHoklch(79.13% 0.099 133.1)
XYZxyz(40.1592, 51.2032, 30.6844)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C987 #AE87C9
analogous
#C3C987 #A2C987 #87C98D
triadic
#A2C987 #87A2C9 #C987A2
tetradic
#A2C987 #87C3C9 #AE87C9 #C98D87
square
#A2C987 #87C3C9 #AE87C9 #C98D87
split-complementary
#A2C987 #8D87C9 #C987C3
monochromatic
#639342 #81B65D #A2C987 #C3DCB1 #E3EFDB

Accessibility & contrast

On white

1.87
#A2C987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#A2C987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C987
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C987#FFFFFF#000000##000000
##A2C9871.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC083
Deuteranopia (green-blind)
#C8BC8A
Tritanopia (blue-blind)
#A3C4B8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a2c987;
/* rgb */ color: rgb(162, 201, 135);
/* oklch */ color: oklch(79.1% 0.099 133.1);
Tailwind
colors: {
  custom: {
    50: '#bed9aa',
    500: '#a2c987',
    950: '#000000',
  },
}
SCSS
$custom: #a2c987;
$custom-light: #bed9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c987",
  "rgb": {
    "r": 162,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 95.455,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.79126,
    "c": 0.09885,
    "h": 133.1
  },
  "luminance": 0.51204
}

Semantic roles & 50–950 ramp

primary
#A2C987
secondary
#805A9B
accent
#35B17E
background
#FDFEFD
surface
#F8FBF7
border
#D1D4D0
text
#121410
muted
#828381

Preview Lab

Preview with #A2C987

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

Preview Lab → · Contrast checker → · Palette generator →

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