#AB974A#AB974A

#AB974A is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.100 H 95.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AB974A
RGBrgb(171, 151, 74)
HSLhsl(48, 40%, 48%)
HSVhsv(48, 57%, 67%)
CMYKcmyk(0%, 11.7%, 56.7%, 32.9%)
CIE-LABlab(62.75, -2.45, 42.67)
CIE-LCHlch(62.75, 42.74, 93.28°)
OKLaboklab(67.81% -0.0088 0.0999)
OKLCHoklch(67.81% 0.1 95)
XYZxyz(29.0984, 31.2869, 10.9835)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB974A #4A5EAB
analogous
#AB664A #AB974A #8EAB4A
triadic
#AB974A #4AAB97 #974AAB
tetradic
#AB974A #4AAB66 #4A5EAB #AB4A8E
square
#AB974A #4AAB66 #4A5EAB #AB4A8E
split-complementary
#AB974A #4A8EAB #664AAB
monochromatic
#564C25 #807138 #AB974A #C1B171 #D4C89B

Accessibility & contrast

On white

2.89
#AB974A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AB974A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB974A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB974A#FFFFFF#000000##000000
##AB974A1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49443
Deuteranopia (green-blind)
#AA9A4D
Tritanopia (blue-blind)
#B78D86
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab974a;
/* rgb */ color: rgb(171, 151, 74);
/* oklch */ color: oklch(67.8% 0.100 95.0);
Tailwind
colors: {
  custom: {
    50: '#c6b57f',
    500: '#ab974a',
    950: '#000000',
  },
}
SCSS
$custom: #ab974a;
$custom-light: #c6b57f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab974a",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 47.629,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.10023,
    "h": 95
  },
  "luminance": 0.31286
}

Semantic roles & 50–950 ramp

primary
#AB974A
secondary
#909AC0
accent
#71CF58
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB974A

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

Preview Lab → · Contrast checker → · Palette generator →

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