#ABA87C#ABA87C

#ABA87C is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.060 H 104.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#ABA87C
RGBrgb(171, 168, 124)
HSLhsl(56, 22%, 58%)
HSVhsv(56, 27%, 67%)
CMYKcmyk(0%, 1.8%, 27.5%, 32.9%)
CIE-LABlab(68.11, -6.09, 23.19)
CIE-LCHlch(68.11, 23.98, 104.72°)
OKLaboklab(72.29% -0.0151 0.0584)
OKLCHoklch(72.29% 0.06 104.5)
XYZxyz(34.4354, 38.1190, 24.6086)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA87C #7C7FAB
analogous
#AB907C #ABA87C #96AB7C
triadic
#ABA87C #7CABA8 #A87CAB
tetradic
#ABA87C #7CAB90 #7C7FAB #AB7C96
square
#ABA87C #7CAB90 #7C7FAB #AB7C96
split-complementary
#ABA87C #7C96AB #907CAB
monochromatic
#696743 #8E8B5B #ABA87C #C3C1A1 #DBDAC7

Accessibility & contrast

On white

2.44
#ABA87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#ABA87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA87C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA87C#FFFFFF#000000##000000
##ABA87C1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A579
Deuteranopia (green-blind)
#B1A77E
Tritanopia (blue-blind)
#B2A29C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba87c;
/* rgb */ color: rgb(171, 168, 124);
/* oklch */ color: oklch(72.3% 0.060 104.5);
Tailwind
colors: {
  custom: {
    50: '#c4c1a2',
    500: '#aba87c',
    950: '#000000',
  },
}
SCSS
$custom: #aba87c;
$custom-light: #c4c1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba87c",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 124
  },
  "hsl": {
    "h": 56.17,
    "s": 21.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.06028,
    "h": 104.5
  },
  "luminance": 0.38118
}

Semantic roles & 50–950 ramp

primary
#ABA87C
secondary
#B8B9CB
accent
#6FBE69
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #ABA87C

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

Preview Lab → · Contrast checker → · Palette generator →

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