#A2A87F#A2A87F

#A2A87F is a light, muted yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.057 H 114.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A2A87F
RGBrgb(162, 168, 127)
HSLhsl(69, 19%, 58%)
HSVhsv(69, 24%, 66%)
CMYKcmyk(3.6%, 0%, 24.4%, 34.1%)
CIE-LABlab(67.44, -9.19, 20.53)
CIE-LCHlch(67.44, 22.49, 114.11°)
OKLaboklab(71.6% -0.0238 0.052)
OKLCHoklch(71.6% 0.057 114.6)
XYZxyz(32.7335, 37.2192, 25.5342)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A87F #857FA8
analogous
#A8997F #A2A87F #8DA87F
triadic
#A2A87F #7FA2A8 #A87FA2
tetradic
#A2A87F #7FA899 #857FA8 #A87F8D
square
#A2A87F #7FA899 #857FA8 #A87F8D
split-complementary
#A2A87F #7F8DA8 #997FA8
monochromatic
#626746 #858B5F #A2A87F #BCC1A3 #D7DAC8

Accessibility & contrast

On white

2.49
#A2A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A2A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A87F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A87F#FFFFFF#000000##000000
##A2A87F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47C
Deuteranopia (green-blind)
#AEA581
Tritanopia (blue-blind)
#A7A39D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2a87f;
/* rgb */ color: rgb(162, 168, 127);
/* oklch */ color: oklch(71.6% 0.057 114.6);
Tailwind
colors: {
  custom: {
    50: '#bec1a4',
    500: '#a2a87f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a87f;
$custom-light: #bec1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a87f",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 68.78,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71605,
    "c": 0.0572,
    "h": 114.6
  },
  "luminance": 0.37219
}

Semantic roles & 50–950 ramp

primary
#A2A87F
secondary
#BCB9CA
accent
#6CBC78
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A2A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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