#A2C787#A2C787

#A2C787 is a light, moderate yellow-green. Relative luminance 0.503; OKLCH L 78.7% C 0.096 H 132.7°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#A2C787
RGBrgb(162, 199, 135)
HSLhsl(95, 36%, 65%)
HSVhsv(95, 32%, 78%)
CMYKcmyk(18.6%, 0%, 32.2%, 22%)
CIE-LABlab(76.24, -23.84, 28.13)
CIE-LCHlch(76.24, 36.87, 130.28°)
OKLaboklab(78.68% -0.0648 0.0704)
OKLCHoklch(78.68% 0.096 132.7)
XYZxyz(39.6960, 50.2768, 30.5300)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C787 #AC87C7
analogous
#C2C787 #A2C787 #87C78C
triadic
#A2C787 #87A2C7 #C787A2
tetradic
#A2C787 #87C2C7 #AC87C7 #C78C87
square
#A2C787 #87C2C7 #AC87C7 #C78C87
split-complementary
#A2C787 #8C87C7 #C787C2
monochromatic
#649043 #82B45D #A2C787 #C2DAB1 #E3EEDA

Accessibility & contrast

On white

1.90
#A2C787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#A2C787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C787
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C787#FFFFFF#000000##000000
##A2C7871.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE83
Deuteranopia (green-blind)
#C7BB8A
Tritanopia (blue-blind)
#A3C2B6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a2c787;
/* rgb */ color: rgb(162, 199, 135);
/* oklch */ color: oklch(78.7% 0.096 132.7);
Tailwind
colors: {
  custom: {
    50: '#bed8aa',
    500: '#a2c787',
    950: '#000000',
  },
}
SCSS
$custom: #a2c787;
$custom-light: #bed8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c787",
  "rgb": {
    "r": 162,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 94.688,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.78675,
    "c": 0.0957,
    "h": 132.7
  },
  "luminance": 0.50277
}

Semantic roles & 50–950 ramp

primary
#A2C787
secondary
#7E5A98
accent
#36AF7C
background
#FDFEFD
surface
#F8FBF7
border
#D1D4D0
text
#121410
muted
#828381

Preview Lab

Preview with #A2C787

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

Preview Lab → · Contrast checker → · Palette generator →

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