#AB9D4A#AB9D4A

#AB9D4A is a light, moderate yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.105 H 99.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AB9D4A
RGBrgb(171, 157, 74)
HSLhsl(51, 40%, 48%)
HSVhsv(51, 57%, 67%)
CMYKcmyk(0%, 8.2%, 56.7%, 32.9%)
CIE-LABlab(64.38, -5.68, 44.56)
CIE-LCHlch(64.38, 44.92, 97.27°)
OKLaboklab(69.1% -0.0181 0.1039)
OKLCHoklch(69.1% 0.105 99.9)
XYZxyz(30.0887, 33.2675, 11.3136)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D4A #4A58AB
analogous
#AB6C4A #AB9D4A #88AB4A
triadic
#AB9D4A #4AAB9D #9D4AAB
tetradic
#AB9D4A #4AAB6C #4A58AB #AB4A88
square
#AB9D4A #4AAB6C #4A58AB #AB4A88
split-complementary
#AB9D4A #4A88AB #6C4AAB
monochromatic
#564F25 #807638 #AB9D4A #C1B671 #D4CC9B

Accessibility & contrast

On white

2.74
#AB9D4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AB9D4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D4A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D4A#FFFFFF#000000##000000
##AB9D4A1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9942
Deuteranopia (green-blind)
#AE9E4E
Tritanopia (blue-blind)
#B7938A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d4a;
/* rgb */ color: rgb(171, 157, 74);
/* oklch */ color: oklch(69.1% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#c6b97f',
    500: '#ab9d4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d4a;
$custom-light: #c6b97f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d4a",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 74
  },
  "hsl": {
    "h": 51.34,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.10548,
    "h": 99.9
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

primary
#AB9D4A
secondary
#9097C0
accent
#6ACF58
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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