#B8B73A#B8B73A

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

Color values

HEX#B8B73A
RGBrgb(184, 183, 58)
HSLhsl(60, 52%, 47%)
HSVhsv(60, 68%, 72%)
CMYKcmyk(0%, 0.5%, 68.5%, 27.8%)
CIE-LABlab(72.47, -14.73, 60.56)
CIE-LCHlch(72.47, 62.32, 103.67°)
OKLaboklab(75.76% -0.0464 0.1352)
OKLCHoklch(75.76% 0.143 108.9)
XYZxyz(37.4657, 44.3639, 10.5917)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B73A #3A3BB8
analogous
#B8783A #B8B73A #7AB83A
triadic
#B8B73A #3AB8B7 #B73AB8
tetradic
#B8B73A #3AB878 #3A3BB8 #B83A7A
square
#B8B73A #3AB878 #3A3BB8 #B83A7A
split-complementary
#B8B73A #3A7AB8 #783AB8
monochromatic
#5B5A1D #89892B #B8B73A #CDCD62 #DCDC90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B73A#FFFFFF#000000##000000
##B8B73A1.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)
#C6AF27
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b73a;
/* rgb */ color: rgb(184, 183, 58);
/* oklch */ color: oklch(75.8% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cc78',
    500: '#b8b73a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b73a;
$custom-light: #d1cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b73a",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 59.524,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75761,
    "c": 0.14296,
    "h": 108.9
  },
  "luminance": 0.44363
}

Semantic roles & 50–950 ramp

primary
#B8B73A
secondary
#8787C7
accent
#4DDC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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