#B9AB33#B9AB33

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

Color values

HEX#B9AB33
RGBrgb(185, 171, 51)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 72%, 73%)
CMYKcmyk(0%, 7.6%, 72.4%, 27.5%)
CIE-LABlab(69.24, -8.46, 60.05)
CIE-LCHlch(69.24, 60.64, 98.02°)
OKLaboklab(73.19% -0.0295 0.1329)
OKLCHoklch(73.19% 0.136 102.5)
XYZxyz(35.1696, 39.6806, 8.9379)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB33 #3341B9
analogous
#B96833 #B9AB33 #84B933
triadic
#B9AB33 #33B9AB #AB33B9
tetradic
#B9AB33 #33B968 #3341B9 #B93384
square
#B9AB33 #33B968 #3341B9 #B93384
split-complementary
#B9AB33 #3384B9 #6833B9
monochromatic
#595219 #897F26 #B9AB33 #D1C458 #DED588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AB33#FFFFFF#000000##000000
##B9AB331.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)
#BBA61F
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#C79F93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab33;
/* rgb */ color: rgb(185, 171, 51);
/* oklch */ color: oklch(73.2% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#d2c373',
    500: '#b9ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab33;
$custom-light: #d2c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab33",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 53.731,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.13612,
    "h": 102.5
  },
  "luminance": 0.39679
}

Semantic roles & 50–950 ramp

primary
#B9AB33
secondary
#8087C8
accent
#58E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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