#AB973A#AB973A

#AB973A is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.114 H 97.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AB973A
RGBrgb(171, 151, 58)
HSLhsl(49, 49%, 45%)
HSVhsv(49, 66%, 67%)
CMYKcmyk(0%, 11.7%, 66.1%, 32.9%)
CIE-LABlab(62.59, -3.60, 50.03)
CIE-LCHlch(62.59, 50.16, 94.11°)
OKLaboklab(67.63% -0.014 0.1134)
OKLCHoklch(67.63% 0.114 97)
XYZxyz(28.6262, 31.0980, 8.4968)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB973A #3A4EAB
analogous
#AB5F3A #AB973A #86AB3A
triadic
#AB973A #3AAB97 #973AAB
tetradic
#AB973A #3AAB5F #3A4EAB #AB3A86
square
#AB973A #3AAB5F #3A4EAB #AB3A86
split-complementary
#AB973A #3A86AB #5F3AAB
monochromatic
#50461B #7D6F2A #AB973A #C7B45B #D7C989

Accessibility & contrast

On white

2.91
#AB973A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AB973A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB973A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB973A#FFFFFF#000000##000000
##AB973A1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942F
Deuteranopia (green-blind)
#AB9A3F
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab973a;
/* rgb */ color: rgb(171, 151, 58);
/* oklch */ color: oklch(67.6% 0.114 97.0);
Tailwind
colors: {
  custom: {
    50: '#c7b575',
    500: '#ab973a',
    950: '#000000',
  },
}
SCSS
$custom: #ab973a;
$custom-light: #c7b575;
$custom-dark: #000000;
JSON
{
  "hex": "#ab973a",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 58
  },
  "hsl": {
    "h": 49.381,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67631,
    "c": 0.11427,
    "h": 97
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#AB973A
secondary
#808BC1
accent
#67D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB973A

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

Preview Lab → · Contrast checker → · Palette generator →

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