#B9AB36#B9AB36

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

Color values

HEX#B9AB36
RGBrgb(185, 171, 54)
HSLhsl(54, 55%, 47%)
HSVhsv(54, 71%, 73%)
CMYKcmyk(0%, 7.6%, 70.8%, 27.5%)
CIE-LABlab(69.26, -8.31, 58.93)
CIE-LCHlch(69.26, 59.51, 98.03°)
OKLaboklab(73.22% -0.0287 0.1311)
OKLCHoklch(73.22% 0.134 102.4)
XYZxyz(35.2379, 39.7079, 9.2976)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB36 #3644B9
analogous
#B96A36 #B9AB36 #86B936
triadic
#B9AB36 #36B9AB #AB36B9
tetradic
#B9AB36 #36B96A #3644B9 #B93686
square
#B9AB36 #36B96A #3644B9 #B93686
split-complementary
#B9AB36 #3686B9 #6A36B9
monochromatic
#5A531A #8A7F28 #B9AB36 #D0C35D #DDD58C

Accessibility & contrast

On white

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

On black

8.94
#B9AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB36
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB36#FFFFFF#000000##000000
##B9AB361.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA624
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#C79F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab36;
/* rgb */ color: rgb(185, 171, 54);
/* oklch */ color: oklch(73.2% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#d2c374',
    500: '#b9ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab36;
$custom-light: #d2c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab36",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 53.588,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.13418,
    "h": 102.4
  },
  "luminance": 0.39706
}

Semantic roles & 50–950 ramp

primary
#B9AB36
secondary
#838AC8
accent
#5ADE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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