#B9AB56#B9AB56

#B9AB56 is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.108 H 100.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B9AB56
RGBrgb(185, 171, 86)
HSLhsl(52, 41%, 53%)
HSVhsv(52, 54%, 73%)
CMYKcmyk(0%, 7.6%, 53.5%, 27.5%)
CIE-LABlab(69.55, -6.15, 45.05)
CIE-LCHlch(69.55, 45.47, 97.77°)
OKLaboklab(73.54% -0.0189 0.106)
OKLCHoklch(73.54% 0.108 100.1)
XYZxyz(36.2514, 40.1134, 14.6354)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB56 #5664B9
analogous
#B97956 #B9AB56 #95B956
triadic
#B9AB56 #56B9AB #AB56B9
tetradic
#B9AB56 #56B979 #5664B9 #B95695
square
#B9AB56 #56B979 #5664B9 #B95695
split-complementary
#B9AB56 #5695B9 #7956B9
monochromatic
#69602C #94883D #B9AB56 #CBC181 #DDD6AD

Accessibility & contrast

On white

2.33
#B9AB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B9AB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB56
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB56#FFFFFF#000000##000000
##B9AB561.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74E
Deuteranopia (green-blind)
#BDAC5A
Tritanopia (blue-blind)
#C5A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ab56;
/* rgb */ color: rgb(185, 171, 86);
/* oklch */ color: oklch(73.5% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#d0c388',
    500: '#b9ab56',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab56;
$custom-light: #d0c388;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab56",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 51.515,
    "s": 41.423,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.10768,
    "h": 100.1
  },
  "luminance": 0.40112
}

Semantic roles & 50–950 ramp

primary
#B9AB56
secondary
#A0A6CB
accent
#68D157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9AB56

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

Preview Lab → · Contrast checker → · Palette generator →

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