#A2A787#A2A787

#A2A787 is a light, muted yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.045 H 114.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A2A787
RGBrgb(162, 167, 135)
HSLhsl(69, 15%, 59%)
HSVhsv(69, 19%, 65%)
CMYKcmyk(3%, 0%, 19.2%, 34.5%)
CIE-LABlab(67.33, -7.43, 15.99)
CIE-LCHlch(67.33, 17.63, 114.91°)
OKLaboklab(71.57% -0.0189 0.041)
OKLCHoklch(71.57% 0.045 114.8)
XYZxyz(33.0918, 37.0683, 28.3286)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A787 #8C87A7
analogous
#A79C87 #A2A787 #92A787
triadic
#A2A787 #87A2A7 #A787A2
tetradic
#A2A787 #87A79C #8C87A7 #A78792
square
#A2A787 #87A79C #8C87A7 #A78792
split-complementary
#A2A787 #8792A7 #9C87A7
monochromatic
#63684C #858B66 #A2A787 #BDC1AA #D9DBCE

Accessibility & contrast

On white

2.50
#A2A787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A2A787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A787
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A787#FFFFFF#000000##000000
##A2A7871.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA485
Deuteranopia (green-blind)
#ACA488
Tritanopia (blue-blind)
#A6A39E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2a787;
/* rgb */ color: rgb(162, 167, 135);
/* oklch */ color: oklch(71.6% 0.045 114.8);
Tailwind
colors: {
  custom: {
    50: '#bdc1aa',
    500: '#a2a787',
    950: '#000000',
  },
}
SCSS
$custom: #a2a787;
$custom-light: #bdc1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a787",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 69.375,
    "s": 15.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.0451,
    "h": 114.8
  },
  "luminance": 0.37068
}

Semantic roles & 50–950 ramp

primary
#A2A787
secondary
#C1BFCB
accent
#70B87B
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A2A787

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

Preview Lab → · Contrast checker → · Palette generator →

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