#ABA87D#ABA87D

#ABA87D is a light, muted yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.059 H 104.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#ABA87D
RGBrgb(171, 168, 125)
HSLhsl(56, 21%, 58%)
HSVhsv(56, 27%, 67%)
CMYKcmyk(0%, 1.8%, 26.9%, 32.9%)
CIE-LABlab(68.13, -5.95, 22.67)
CIE-LCHlch(68.13, 23.44, 104.71°)
OKLaboklab(72.31% -0.0147 0.0571)
OKLCHoklch(72.31% 0.059 104.4)
XYZxyz(34.4990, 38.1444, 24.9433)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA87D #7D80AB
analogous
#AB917D #ABA87D #97AB7D
triadic
#ABA87D #7DABA8 #A87DAB
tetradic
#ABA87D #7DAB91 #7D80AB #AB7D97
square
#ABA87D #7DAB91 #7D80AB #AB7D97
split-complementary
#ABA87D #7D97AB #917DAB
monochromatic
#696744 #8F8B5C #ABA87D #C3C1A2 #DBDAC7

Accessibility & contrast

On white

2.43
#ABA87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#ABA87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA87D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA87D#FFFFFF#000000##000000
##ABA87D1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A57A
Deuteranopia (green-blind)
#B1A77F
Tritanopia (blue-blind)
#B2A29D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba87d;
/* rgb */ color: rgb(171, 168, 125);
/* oklch */ color: oklch(72.3% 0.059 104.4);
Tailwind
colors: {
  custom: {
    50: '#c4c1a3',
    500: '#aba87d',
    950: '#000000',
  },
}
SCSS
$custom: #aba87d;
$custom-light: #c4c1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aba87d",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 125
  },
  "hsl": {
    "h": 56.087,
    "s": 21.495,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72313,
    "c": 0.05899,
    "h": 104.4
  },
  "luminance": 0.38144
}

Semantic roles & 50–950 ramp

primary
#ABA87D
secondary
#B9BACB
accent
#6FBE6A
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #ABA87D

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

Preview Lab → · Contrast checker → · Palette generator →

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