#A2A987#A2A987

#A2A987 is a light, muted yellow-green. Relative luminance 0.378; OKLCH L 72.0% C 0.048 H 117.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#A2A987
RGBrgb(162, 169, 135)
HSLhsl(72, 17%, 60%)
HSVhsv(72, 20%, 66%)
CMYKcmyk(4.1%, 0%, 20.1%, 33.7%)
CIE-LABlab(67.88, -8.49, 16.75)
CIE-LCHlch(67.88, 18.78, 116.88°)
OKLaboklab(72% -0.0219 0.0428)
OKLCHoklch(72% 0.048 117.1)
XYZxyz(33.4610, 37.8067, 28.4516)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A987 #8E87A9
analogous
#A99F87 #A2A987 #91A987
triadic
#A2A987 #87A2A9 #A987A2
tetradic
#A2A987 #87A99F #8E87A9 #A98791
square
#A2A987 #87A99F #8E87A9 #A98791
split-complementary
#A2A987 #8791A9 #9F87A9
monochromatic
#646A4C #858D65 #A2A987 #BEC3AB #D9DCCE

Accessibility & contrast

On white

2.45
#A2A987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#A2A987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A987
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A987#FFFFFF#000000##000000
##A2A9871.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA585
Deuteranopia (green-blind)
#ADA688
Tritanopia (blue-blind)
#A6A5A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2a987;
/* rgb */ color: rgb(162, 169, 135);
/* oklch */ color: oklch(72.0% 0.048 117.1);
Tailwind
colors: {
  custom: {
    50: '#bdc2aa',
    500: '#a2a987',
    950: '#000000',
  },
}
SCSS
$custom: #a2a987;
$custom-light: #bdc2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a987",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 72.353,
    "s": 16.505,
    "l": 59.608
  },
  "oklch": {
    "l": 0.72004,
    "c": 0.04811,
    "h": 117.1
  },
  "luminance": 0.37807
}

Semantic roles & 50–950 ramp

primary
#A2A987
secondary
#C2BFCC
accent
#6FB97E
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A2A987

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

Preview Lab → · Contrast checker → · Palette generator →

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