#B9AB3C#B9AB3C

#B9AB3C is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.130 H 102.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B9AB3C
RGBrgb(185, 171, 60)
HSLhsl(53, 51%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 7.6%, 67.6%, 27.5%)
CIE-LABlab(69.30, -7.99, 56.58)
CIE-LCHlch(69.30, 57.14, 98.04°)
OKLaboklab(73.27% -0.0272 0.1272)
OKLCHoklch(73.27% 0.13 102.1)
XYZxyz(35.3876, 39.7678, 10.0860)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB3C #3C4AB9
analogous
#B96C3C #B9AB3C #88B93C
triadic
#B9AB3C #3CB9AB #AB3CB9
tetradic
#B9AB3C #3CB96C #3C4AB9 #B93C88
square
#B9AB3C #3CB96C #3C4AB9 #B93C88
split-complementary
#B9AB3C #3C88B9 #6C3CB9
monochromatic
#5D561E #8B802D #B9AB3C #CDC165 #DCD493

Accessibility & contrast

On white

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

On black

8.95
#B9AB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB3C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB3C#FFFFFF#000000##000000
##B9AB3C1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ab3c;
/* rgb */ color: rgb(185, 171, 60);
/* oklch */ color: oklch(73.3% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c378',
    500: '#b9ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab3c;
$custom-light: #d1c378;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab3c",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 53.28,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73265,
    "c": 0.13002,
    "h": 102.1
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#B9AB3C
secondary
#8990C7
accent
#5DDA4D
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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