#AB9B42#AB9B42

#AB9B42 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.6% C 0.111 H 99.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AB9B42
RGBrgb(171, 155, 66)
HSLhsl(51, 44%, 46%)
HSVhsv(51, 61%, 67%)
CMYKcmyk(0%, 9.4%, 61.4%, 32.9%)
CIE-LABlab(63.75, -5.22, 47.65)
CIE-LCHlch(63.75, 47.94, 96.25°)
OKLaboklab(68.57% -0.0177 0.1096)
OKLCHoklch(68.57% 0.111 99.2)
XYZxyz(29.5005, 32.4952, 9.8715)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B42 #4252AB
analogous
#AB6742 #AB9B42 #87AB42
triadic
#AB9B42 #42AB9B #9B42AB
tetradic
#AB9B42 #42AB67 #4252AB #AB4287
square
#AB9B42 #42AB67 #4252AB #AB4287
split-complementary
#AB9B42 #4287AB #6742AB
monochromatic
#534B20 #7F7331 #AB9B42 #C4B666 #D5CB92

Accessibility & contrast

On white

2.80
#AB9B42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AB9B42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B42
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B42#FFFFFF#000000##000000
##AB9B421.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#AD9D46
Tritanopia (blue-blind)
#B79188
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b42;
/* rgb */ color: rgb(171, 155, 66);
/* oklch */ color: oklch(68.6% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#c7b87a',
    500: '#ab9b42',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b42;
$custom-light: #c7b87a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b42",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 66
  },
  "hsl": {
    "h": 50.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.11097,
    "h": 99.2
  },
  "luminance": 0.32494
}

Semantic roles & 50–950 ramp

primary
#AB9B42
secondary
#8891C0
accent
#67D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9B42

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

Preview Lab → · Contrast checker → · Palette generator →

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