#B9B73D#B9B73D

#B9B73D is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.141 H 108.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B9B73D
RGBrgb(185, 183, 61)
HSLhsl(59, 50%, 48%)
HSVhsv(59, 67%, 73%)
CMYKcmyk(0%, 1.1%, 67%, 27.5%)
CIE-LABlab(72.57, -14.14, 59.52)
CIE-LCHlch(72.57, 61.18, 103.36°)
OKLaboklab(75.87% -0.0445 0.1335)
OKLCHoklch(75.87% 0.141 108.4)
XYZxyz(37.7847, 44.5193, 11.0167)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B73D #3D3FB9
analogous
#B9793D #B9B73D #7DB93D
triadic
#B9B73D #3DB9B7 #B73DB9
tetradic
#B9B73D #3DB979 #3D3FB9 #B93D7D
square
#B9B73D #3DB979 #3D3FB9 #B93D7D
split-complementary
#B9B73D #3D7DB9 #793DB9
monochromatic
#5D5C1F #8B892E #B9B73D #CDCB66 #DCDB95

Accessibility & contrast

On white

2.12
#B9B73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#B9B73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B73D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B73D#FFFFFF#000000##000000
##B9B73D1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02B
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b73d;
/* rgb */ color: rgb(185, 183, 61);
/* oklch */ color: oklch(75.9% 0.141 108.4);
Tailwind
colors: {
  custom: {
    50: '#d1cc79',
    500: '#b9b73d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b73d;
$custom-light: #d1cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b73d",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 59.032,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75871,
    "c": 0.14072,
    "h": 108.4
  },
  "luminance": 0.44518
}

Semantic roles & 50–950 ramp

primary
#B9B73D
secondary
#8B8BC7
accent
#50DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B73D

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

Preview Lab → · Contrast checker → · Palette generator →

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