#B9AB49#B9AB49

#B9AB49 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.120 H 101.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B9AB49
RGBrgb(185, 171, 73)
HSLhsl(53, 44%, 51%)
HSVhsv(53, 61%, 73%)
CMYKcmyk(0%, 7.6%, 60.5%, 27.5%)
CIE-LABlab(69.41, -7.16, 51.05)
CIE-LCHlch(69.41, 51.55, 97.98°)
OKLaboklab(73.39% -0.0233 0.1174)
OKLCHoklch(73.39% 0.12 101.2)
XYZxyz(35.7744, 39.9226, 12.1235)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB49 #4957B9
analogous
#B97349 #B9AB49 #8FB949
triadic
#B9AB49 #49B9AB #AB49B9
tetradic
#B9AB49 #49B973 #4957B9 #B9498F
square
#B9AB49 #49B973 #4957B9 #B9498F
split-complementary
#B9AB49 #498FB9 #7349B9
monochromatic
#625A26 #8E8337 #B9AB49 #CABF75 #DBD4A1

Accessibility & contrast

On white

2.34
#B9AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B9AB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB49
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB49#FFFFFF#000000##000000
##B9AB491.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63E
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#C6A096
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab49;
/* rgb */ color: rgb(185, 171, 73);
/* oklch */ color: oklch(73.4% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#d1c380',
    500: '#b9ab49',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab49;
$custom-light: #d1c380;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab49",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 52.5,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.11968,
    "h": 101.2
  },
  "luminance": 0.39921
}

Semantic roles & 50–950 ramp

primary
#B9AB49
secondary
#969CC8
accent
#64D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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