#B9A73A#B9A73A

#B9A73A is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.128 H 99.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B9A73A
RGBrgb(185, 167, 58)
HSLhsl(51, 52%, 48%)
HSVhsv(51, 69%, 73%)
CMYKcmyk(0%, 9.7%, 68.6%, 27.5%)
CIE-LABlab(68.21, -6.00, 56.28)
CIE-LCHlch(68.21, 56.60, 96.08°)
OKLaboklab(72.39% -0.0217 0.1262)
OKLCHoklch(72.39% 0.128 99.8)
XYZxyz(34.5916, 38.2588, 9.5648)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A73A #3A4CB9
analogous
#B9673A #B9A73A #8BB93A
triadic
#B9A73A #3AB9A7 #A73AB9
tetradic
#B9A73A #3AB967 #3A4CB9 #B93A8B
square
#B9A73A #3AB967 #3A4CB9 #B93A8B
split-complementary
#B9A73A #3A8BB9 #673AB9
monochromatic
#5C531D #8A7D2B #B9A73A #CEBF62 #DCD291

Accessibility & contrast

On white

2.43
#B9A73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B9A73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A73A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A73A#FFFFFF#000000##000000
##B9A73A1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A22B
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#C79B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a73a;
/* rgb */ color: rgb(185, 167, 58);
/* oklch */ color: oklch(72.4% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#d1c076',
    500: '#b9a73a',
    950: '#000000',
  },
}
SCSS
$custom: #b9a73a;
$custom-light: #d1c076;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a73a",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 51.496,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72392,
    "c": 0.12804,
    "h": 99.8
  },
  "luminance": 0.38257
}

Semantic roles & 50–950 ramp

primary
#B9A73A
secondary
#8790C7
accent
#60DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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