#ABA978#ABA978

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

Color values

HEX#ABA978
RGBrgb(171, 169, 120)
HSLhsl(58, 23%, 57%)
HSVhsv(58, 30%, 67%)
CMYKcmyk(0%, 1.2%, 29.8%, 32.9%)
CIE-LABlab(68.31, -7.17, 25.62)
CIE-LCHlch(68.31, 26.60, 105.63°)
OKLaboklab(72.43% -0.0183 0.0641)
OKLCHoklch(72.43% 0.067 106)
XYZxyz(34.3729, 38.3905, 23.3650)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA978 #787AAB
analogous
#AB9078 #ABA978 #94AB78
triadic
#ABA978 #78ABA9 #A978AB
tetradic
#ABA978 #78AB90 #787AAB #AB7894
square
#ABA978 #78AB90 #787AAB #AB7894
split-complementary
#ABA978 #7894AB #9078AB
monochromatic
#686641 #8E8C58 #ABA978 #C2C19E #DAD9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA978#FFFFFF#000000##000000
##ABA9781.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)
#B1A575
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#B2A39C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aba978;
/* rgb */ color: rgb(171, 169, 120);
/* oklch */ color: oklch(72.4% 0.067 106.0);
Tailwind
colors: {
  custom: {
    50: '#c4c29f',
    500: '#aba978',
    950: '#000000',
  },
}
SCSS
$custom: #aba978;
$custom-light: #c4c29f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba978",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 120
  },
  "hsl": {
    "h": 57.647,
    "s": 23.288,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72426,
    "c": 0.06663,
    "h": 106
  },
  "luminance": 0.3839
}

Semantic roles & 50–950 ramp

primary
#ABA978
secondary
#B5B6CA
accent
#6BC068
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA978

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

Preview Lab → · Contrast checker → · Palette generator →

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