#ABA987#ABA987

#ABA987 is a light, muted yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.047 H 104.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#ABA987
RGBrgb(171, 169, 135)
HSLhsl(57, 18%, 60%)
HSVhsv(57, 21%, 67%)
CMYKcmyk(0%, 1.2%, 21.1%, 32.9%)
CIE-LABlab(68.59, -5.04, 17.86)
CIE-LCHlch(68.59, 18.55, 105.76°)
OKLaboklab(72.75% -0.012 0.0456)
OKLCHoklch(72.75% 0.047 104.7)
XYZxyz(35.3556, 38.7836, 28.5404)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA987 #8789AB
analogous
#AB9787 #ABA987 #9BAB87
triadic
#ABA987 #87ABA9 #A987AB
tetradic
#ABA987 #87AB97 #8789AB #AB879B
square
#ABA987 #87AB97 #8789AB #AB879B
split-complementary
#ABA987 #879BAB #9787AB
monochromatic
#6C6A4C #908E65 #ABA987 #C4C3AB #DDDDCF

Accessibility & contrast

On white

2.40
#ABA987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#ABA987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA987
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA987#FFFFFF#000000##000000
##ABA9871.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA685
Deuteranopia (green-blind)
#B0A888
Tritanopia (blue-blind)
#B1A4A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aba987;
/* rgb */ color: rgb(171, 169, 135);
/* oklch */ color: oklch(72.7% 0.047 104.7);
Tailwind
colors: {
  custom: {
    50: '#c4c2aa',
    500: '#aba987',
    950: '#000000',
  },
}
SCSS
$custom: #aba987;
$custom-light: #c4c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aba987",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 56.667,
    "s": 17.647,
    "l": 60
  },
  "oklch": {
    "l": 0.72747,
    "c": 0.04711,
    "h": 104.7
  },
  "luminance": 0.38783
}

Semantic roles & 50–950 ramp

primary
#ABA987
secondary
#C0C1CE
accent
#72BA6D
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #ABA987

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

Preview Lab → · Contrast checker → · Palette generator →

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