#ABA797#ABA797

#ABA797 is a light, muted yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.023 H 95.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#ABA797
RGBrgb(171, 167, 151)
HSLhsl(48, 11%, 63%)
HSVhsv(48, 12%, 67%)
CMYKcmyk(0%, 2.3%, 11.7%, 32.9%)
CIE-LABlab(68.41, -1.41, 8.79)
CIE-LCHlch(68.41, 8.90, 99.09°)
OKLaboklab(72.72% -0.0022 0.0229)
OKLCHoklch(72.72% 0.023 95.4)
XYZxyz(36.1987, 38.5301, 34.8022)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA797 #979BAB
analogous
#AB9D97 #ABA797 #A5AB97
triadic
#ABA797 #97ABA7 #A797AB
tetradic
#ABA797 #97AB9D #979BAB #AB97A5
square
#ABA797 #97AB9D #979BAB #AB97A5
split-complementary
#ABA797 #97A5AB #9D97AB
monochromatic
#6E6A59 #908A75 #ABA797 #C6C4B9 #E2E0DB

Accessibility & contrast

On white

2.41
#ABA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#ABA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA797
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA797#FFFFFF#000000##000000
##ABA7971.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA696
Deuteranopia (green-blind)
#ACA797
Tritanopia (blue-blind)
#AFA4A2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aba797;
/* rgb */ color: rgb(171, 167, 151);
/* oklch */ color: oklch(72.7% 0.023 95.4);
Tailwind
colors: {
  custom: {
    50: '#c4c1b5',
    500: '#aba797',
    950: '#000000',
  },
}
SCSS
$custom: #aba797;
$custom-light: #c4c1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aba797",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 48,
    "s": 10.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.023,
    "h": 95.4
  },
  "luminance": 0.3853
}

Semantic roles & 50–950 ramp

primary
#ABA797
secondary
#CBCDD2
accent
#5E9551
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #ABA797

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

Preview Lab → · Contrast checker → · Palette generator →

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