#B9AB3F#B9AB3F

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

Color values

HEX#B9AB3F
RGBrgb(185, 171, 63)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 66%, 73%)
CMYKcmyk(0%, 7.6%, 65.9%, 27.5%)
CIE-LABlab(69.33, -7.81, 55.36)
CIE-LCHlch(69.33, 55.90, 98.03°)
OKLaboklab(73.29% -0.0263 0.1251)
OKLCHoklch(73.29% 0.128 101.9)
XYZxyz(35.4691, 39.8005, 10.5156)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB3F #3F4DB9
analogous
#B96E3F #B9AB3F #8AB93F
triadic
#B9AB3F #3FB9AB #AB3FB9
tetradic
#B9AB3F #3FB96E #3F4DB9 #B93F8A
square
#B9AB3F #3FB96E #3F4DB9 #B93F8A
split-complementary
#B9AB3F #3F8AB9 #6E3FB9
monochromatic
#5E5720 #8B812F #B9AB3F #CCC169 #DCD497

Accessibility & contrast

On white

2.34
#B9AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B9AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB3F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB3F#FFFFFF#000000##000000
##B9AB3F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#BEAC45
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab3f;
/* rgb */ color: rgb(185, 171, 63);
/* oklch */ color: oklch(73.3% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#d1c37a',
    500: '#b9ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab3f;
$custom-light: #d1c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab3f",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 53.115,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.12779,
    "h": 101.9
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#B9AB3F
secondary
#8D93C7
accent
#5FD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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