#B9AB54#B9AB54

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

Color values

HEX#B9AB54
RGBrgb(185, 171, 84)
HSLhsl(52, 42%, 53%)
HSVhsv(52, 55%, 73%)
CMYKcmyk(0%, 7.6%, 54.6%, 27.5%)
CIE-LABlab(69.53, -6.32, 46.00)
CIE-LCHlch(69.53, 46.43, 97.82°)
OKLaboklab(73.51% -0.0196 0.1079)
OKLCHoklch(73.51% 0.11 100.3)
XYZxyz(36.1719, 40.0816, 14.2169)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB54 #5462B9
analogous
#B97854 #B9AB54 #95B954
triadic
#B9AB54 #54B9AB #AB54B9
tetradic
#B9AB54 #54B978 #5462B9 #B95495
square
#B9AB54 #54B978 #5462B9 #B95495
split-complementary
#B9AB54 #5495B9 #7854B9
monochromatic
#68602B #93873C #B9AB54 #CBC07F #DDD6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AB54#FFFFFF#000000##000000
##B9AB541.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)
#B9A74C
Deuteranopia (green-blind)
#BDAC58
Tritanopia (blue-blind)
#C6A197
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ab54;
/* rgb */ color: rgb(185, 171, 84);
/* oklch */ color: oklch(73.5% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#d0c387',
    500: '#b9ab54',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab54;
$custom-light: #d0c387;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab54",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 51.683,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73514,
    "c": 0.10963,
    "h": 100.3
  },
  "luminance": 0.4008
}

Semantic roles & 50–950 ramp

primary
#B9AB54
secondary
#9FA5CA
accent
#67D256
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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