#B9AB35#B9AB35

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

Color values

HEX#B9AB35
RGBrgb(185, 171, 53)
HSLhsl(54, 55%, 47%)
HSVhsv(54, 71%, 73%)
CMYKcmyk(0%, 7.6%, 71.4%, 27.5%)
CIE-LABlab(69.25, -8.36, 59.31)
CIE-LCHlch(69.25, 59.89, 98.03°)
OKLaboklab(73.21% -0.029 0.1317)
OKLCHoklch(73.21% 0.135 102.4)
XYZxyz(35.2146, 39.6987, 9.1752)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB35 #3543B9
analogous
#B96935 #B9AB35 #85B935
triadic
#B9AB35 #35B9AB #AB35B9
tetradic
#B9AB35 #35B969 #3543B9 #B93585
square
#B9AB35 #35B969 #3543B9 #B93585
split-complementary
#B9AB35 #3585B9 #6935B9
monochromatic
#5A531A #897F27 #B9AB35 #D0C45B #DED58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AB35#FFFFFF#000000##000000
##B9AB351.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)
#BBA622
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#C79F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab35;
/* rgb */ color: rgb(185, 171, 53);
/* oklch */ color: oklch(73.2% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d2c374',
    500: '#b9ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab35;
$custom-light: #d2c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab35",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 53.636,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73209,
    "c": 0.13484,
    "h": 102.4
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#B9AB35
secondary
#8289C8
accent
#59DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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