#ABA87B#ABA87B

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

Color values

HEX#ABA87B
RGBrgb(171, 168, 123)
HSLhsl(56, 22%, 58%)
HSVhsv(56, 28%, 67%)
CMYKcmyk(0%, 1.8%, 28.1%, 32.9%)
CIE-LABlab(68.09, -6.23, 23.71)
CIE-LCHlch(68.09, 24.51, 104.72°)
OKLaboklab(72.27% -0.0155 0.0596)
OKLCHoklch(72.27% 0.062 104.6)
XYZxyz(34.3725, 38.0939, 24.2772)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA87B #7B7EAB
analogous
#AB907B #ABA87B #96AB7B
triadic
#ABA87B #7BABA8 #A87BAB
tetradic
#ABA87B #7BAB90 #7B7EAB #AB7B96
square
#ABA87B #7BAB90 #7B7EAB #AB7B96
split-complementary
#ABA87B #7B96AB #907BAB
monochromatic
#696643 #8E8B5B #ABA87B #C3C1A0 #DBD9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA87B#FFFFFF#000000##000000
##ABA87B1.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)
#B0A578
Deuteranopia (green-blind)
#B1A77D
Tritanopia (blue-blind)
#B2A29C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba87b;
/* rgb */ color: rgb(171, 168, 123);
/* oklch */ color: oklch(72.3% 0.062 104.6);
Tailwind
colors: {
  custom: {
    50: '#c4c1a1',
    500: '#aba87b',
    950: '#000000',
  },
}
SCSS
$custom: #aba87b;
$custom-light: #c4c1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba87b",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 56.25,
    "s": 22.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72272,
    "c": 0.06157,
    "h": 104.6
  },
  "luminance": 0.38093
}

Semantic roles & 50–950 ramp

primary
#ABA87B
secondary
#B7B8CB
accent
#6EBF69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #ABA87B

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

Preview Lab → · Contrast checker → · Palette generator →

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