#ABA796#ABA796

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

Color values

HEX#ABA796
RGBrgb(171, 167, 150)
HSLhsl(49, 11%, 63%)
HSVhsv(49, 12%, 67%)
CMYKcmyk(0%, 2.3%, 12.3%, 32.9%)
CIE-LABlab(68.39, -1.57, 9.31)
CIE-LCHlch(68.39, 9.44, 99.60°)
OKLaboklab(72.69% -0.0026 0.0242)
OKLCHoklch(72.69% 0.024 96.1)
XYZxyz(36.1178, 38.4977, 34.3764)
Luminance0.3850 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA796 #969AAB
analogous
#AB9C96 #ABA796 #A4AB96
triadic
#ABA796 #96ABA7 #A796AB
tetradic
#ABA796 #96AB9C #969AAB #AB96A4
square
#ABA796 #96AB9C #969AAB #AB96A4
split-complementary
#ABA796 #96A4AB #9C96AB
monochromatic
#6E6A58 #908B74 #ABA796 #C6C3B8 #E1E0DA

Accessibility & contrast

On white

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

On black

8.70
#ABA796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA796
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA796#FFFFFF#000000##000000
##ABA7961.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba796;
/* rgb */ color: rgb(171, 167, 150);
/* oklch */ color: oklch(72.7% 0.024 96.1);
Tailwind
colors: {
  custom: {
    50: '#c4c1b4',
    500: '#aba796',
    950: '#000000',
  },
}
SCSS
$custom: #aba796;
$custom-light: #c4c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aba796",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 150
  },
  "hsl": {
    "h": 48.571,
    "s": 11.111,
    "l": 62.941
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.02436,
    "h": 96.1
  },
  "luminance": 0.38497
}

Semantic roles & 50–950 ramp

primary
#ABA796
secondary
#CBCCD2
accent
#5D9550
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #ABA796

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

Preview Lab → · Contrast checker → · Palette generator →

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