#B8B73B#B8B73B

#B8B73B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.142 H 108.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B8B73B
RGBrgb(184, 183, 59)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 68%, 72%)
CMYKcmyk(0%, 0.5%, 67.9%, 27.8%)
CIE-LABlab(72.48, -14.68, 60.18)
CIE-LCHlch(72.48, 61.94, 103.71°)
OKLaboklab(75.77% -0.0461 0.1346)
OKLCHoklch(75.77% 0.142 108.9)
XYZxyz(37.4914, 44.3742, 10.7270)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B73B #3B3CB8
analogous
#B8783B #B8B73B #7AB83B
triadic
#B8B73B #3BB8B7 #B73BB8
tetradic
#B8B73B #3BB878 #3B3CB8 #B83B7A
square
#B8B73B #3BB878 #3B3CB8 #B83B7A
split-complementary
#B8B73B #3B7AB8 #783BB8
monochromatic
#5B5B1D #8A892C #B8B73B #CDCC63 #DCDB92

Accessibility & contrast

On white

2.13
#B8B73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B8B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B73B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B73B#FFFFFF#000000##000000
##B8B73B1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b73b;
/* rgb */ color: rgb(184, 183, 59);
/* oklch */ color: oklch(75.8% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cc78',
    500: '#b8b73b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b73b;
$custom-light: #d1cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b73b",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 59.52,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75769,
    "c": 0.14228,
    "h": 108.9
  },
  "luminance": 0.44373
}

Semantic roles & 50–950 ramp

primary
#B8B73B
secondary
#8888C7
accent
#4EDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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