#B9AB32#B9AB32

#B9AB32 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.137 H 102.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B9AB32
RGBrgb(185, 171, 50)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 73%)
CMYKcmyk(0%, 7.6%, 73%, 27.5%)
CIE-LABlab(69.24, -8.51, 60.41)
CIE-LCHlch(69.24, 61.01, 98.02°)
OKLaboklab(73.19% -0.0297 0.1335)
OKLCHoklch(73.19% 0.137 102.5)
XYZxyz(35.1478, 39.6719, 8.8231)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB32 #3240B9
analogous
#B96732 #B9AB32 #83B932
triadic
#B9AB32 #32B9AB #AB32B9
tetradic
#B9AB32 #32B967 #3240B9 #B93283
square
#B9AB32 #32B967 #3240B9 #B93283
split-complementary
#B9AB32 #3283B9 #6732B9
monochromatic
#595218 #897E25 #B9AB32 #D2C557 #DFD587

Accessibility & contrast

On white

2.35
#B9AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B9AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB32
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB32#FFFFFF#000000##000000
##B9AB321.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61D
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C79F93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab32;
/* rgb */ color: rgb(185, 171, 50);
/* oklch */ color: oklch(73.2% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#d2c372',
    500: '#b9ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab32;
$custom-light: #d2c372;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab32",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 53.778,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73188,
    "c": 0.13673,
    "h": 102.5
  },
  "luminance": 0.3967
}

Semantic roles & 50–950 ramp

primary
#B9AB32
secondary
#7F86C8
accent
#57E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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