#B9A73E#B9A73E

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

Color values

HEX#B9A73E
RGBrgb(185, 167, 62)
HSLhsl(51, 50%, 48%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 9.7%, 66.5%, 27.5%)
CIE-LABlab(68.24, -5.77, 54.64)
CIE-LCHlch(68.24, 54.95, 96.02°)
OKLaboklab(72.43% -0.0206 0.1234)
OKLCHoklch(72.43% 0.125 99.5)
XYZxyz(34.6973, 38.3011, 10.1217)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A73E #3E50B9
analogous
#B96A3E #B9A73E #8DB93E
triadic
#B9A73E #3EB9A7 #A73EB9
tetradic
#B9A73E #3EB96A #3E50B9 #B93E8D
square
#B9A73E #3EB96A #3E50B9 #B93E8D
split-complementary
#B9A73E #3E8DB9 #6A3EB9
monochromatic
#5D541F #8B7E2F #B9A73E #CCBE68 #DCD196

Accessibility & contrast

On white

2.42
#B9A73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B9A73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A73E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A73E#FFFFFF#000000##000000
##B9A73E1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9a73e;
/* rgb */ color: rgb(185, 167, 62);
/* oklch */ color: oklch(72.4% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#d1c079',
    500: '#b9a73e',
    950: '#000000',
  },
}
SCSS
$custom: #b9a73e;
$custom-light: #d1c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a73e",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 51.22,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72427,
    "c": 0.1251,
    "h": 99.5
  },
  "luminance": 0.383
}

Semantic roles & 50–950 ramp

primary
#B9A73E
secondary
#8C94C7
accent
#63D94E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A73E

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

Preview Lab → · Contrast checker → · Palette generator →

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