#ABA979#ABA979

#ABA979 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.065 H 105.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ABA979
RGBrgb(171, 169, 121)
HSLhsl(58, 23%, 57%)
HSVhsv(58, 29%, 67%)
CMYKcmyk(0%, 1.2%, 29.2%, 32.9%)
CIE-LABlab(68.33, -7.03, 25.10)
CIE-LCHlch(68.33, 26.07, 105.65°)
OKLaboklab(72.45% -0.0179 0.0629)
OKLCHoklch(72.45% 0.065 105.9)
XYZxyz(34.4339, 38.4149, 23.6863)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA979 #797BAB
analogous
#AB9079 #ABA979 #94AB79
triadic
#ABA979 #79ABA9 #A979AB
tetradic
#ABA979 #79AB90 #797BAB #AB7994
square
#ABA979 #79AB90 #797BAB #AB7994
split-complementary
#ABA979 #7994AB #9079AB
monochromatic
#686741 #8E8C59 #ABA979 #C3C19F #DAD9C4

Accessibility & contrast

On white

2.42
#ABA979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#ABA979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA979
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA979#FFFFFF#000000##000000
##ABA9791.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A576
Deuteranopia (green-blind)
#B2A87B
Tritanopia (blue-blind)
#B2A39C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aba979;
/* rgb */ color: rgb(171, 169, 121);
/* oklch */ color: oklch(72.4% 0.065 105.9);
Tailwind
colors: {
  custom: {
    50: '#c4c2a0',
    500: '#aba979',
    950: '#000000',
  },
}
SCSS
$custom: #aba979;
$custom-light: #c4c2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aba979",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 121
  },
  "hsl": {
    "h": 57.6,
    "s": 22.936,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72446,
    "c": 0.06536,
    "h": 105.9
  },
  "luminance": 0.38414
}

Semantic roles & 50–950 ramp

primary
#ABA979
secondary
#B6B7CA
accent
#6CBF68
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA979

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

Preview Lab → · Contrast checker → · Palette generator →

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