#B9A73F#B9A73F

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

Color values

HEX#B9A73F
RGBrgb(185, 167, 63)
HSLhsl(51, 49%, 49%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 9.7%, 65.9%, 27.5%)
CIE-LABlab(68.25, -5.71, 54.23)
CIE-LCHlch(68.25, 54.53, 96.01°)
OKLaboklab(72.44% -0.0203 0.1227)
OKLCHoklch(72.44% 0.124 99.4)
XYZxyz(34.7250, 38.3122, 10.2675)
Luminance0.3831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A73F #3F51B9
analogous
#B96A3F #B9A73F #8EB93F
triadic
#B9A73F #3FB9A7 #A73FB9
tetradic
#B9A73F #3FB96A #3F51B9 #B93F8E
square
#B9A73F #3FB96A #3F51B9 #B93F8E
split-complementary
#B9A73F #3F8EB9 #6A3FB9
monochromatic
#5E5520 #8B7E2F #B9A73F #CCBD69 #DCD197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9A73F#FFFFFF#000000##000000
##B9A73F1.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)
#B6A332
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#C79B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a73f;
/* rgb */ color: rgb(185, 167, 63);
/* oklch */ color: oklch(72.4% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#d1c079',
    500: '#b9a73f',
    950: '#000000',
  },
}
SCSS
$custom: #b9a73f;
$custom-light: #d1c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a73f",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 51.148,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72436,
    "c": 0.12433,
    "h": 99.4
  },
  "luminance": 0.38311
}

Semantic roles & 50–950 ramp

primary
#B9A73F
secondary
#8D95C7
accent
#63D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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