#A2A387#A2A387

#A2A387 is a light, muted yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.039 H 109.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A2A387
RGBrgb(162, 163, 135)
HSLhsl(62, 13%, 58%)
HSVhsv(62, 17%, 64%)
CMYKcmyk(0.6%, 0%, 17.2%, 36.1%)
CIE-LABlab(66.23, -5.28, 14.46)
CIE-LCHlch(66.23, 15.40, 110.05°)
OKLaboklab(70.7% -0.0128 0.0372)
OKLCHoklch(70.7% 0.039 109)
XYZxyz(32.3703, 35.6253, 28.0881)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A387 #8887A3
analogous
#A39687 #A2A387 #94A387
triadic
#A2A387 #87A2A3 #A387A2
tetradic
#A2A387 #87A396 #8887A3 #A38794
square
#A2A387 #87A396 #8887A3 #A38794
split-complementary
#A2A387 #8794A3 #9687A3
monochromatic
#63634C #858667 #A2A387 #BDBEAA #D8D8CC

Accessibility & contrast

On white

2.58
#A2A387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A2A387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A387
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A387#FFFFFF#000000##000000
##A2A3871.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A085
Deuteranopia (green-blind)
#A8A288
Tritanopia (blue-blind)
#A69F9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a387;
/* rgb */ color: rgb(162, 163, 135);
/* oklch */ color: oklch(70.7% 0.039 109.0);
Tailwind
colors: {
  custom: {
    50: '#bdbeaa',
    500: '#a2a387',
    950: '#000000',
  },
}
SCSS
$custom: #a2a387;
$custom-light: #bdbeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a387",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 135
  },
  "hsl": {
    "h": 62.143,
    "s": 13.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.03931,
    "h": 109
  },
  "luminance": 0.35625
}

Semantic roles & 50–950 ramp

primary
#A2A387
secondary
#BEBDC8
accent
#72B674
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A2A387

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

Preview Lab → · Contrast checker → · Palette generator →

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