#B8A73D#B8A73D

#B8A73D is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.126 H 100.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B8A73D
RGBrgb(184, 167, 61)
HSLhsl(52, 50%, 48%)
HSVhsv(52, 67%, 72%)
CMYKcmyk(0%, 9.2%, 66.8%, 27.8%)
CIE-LABlab(68.14, -6.26, 54.94)
CIE-LCHlch(68.14, 55.29, 96.50°)
OKLaboklab(72.32% -0.0221 0.1239)
OKLCHoklch(72.32% 0.126 100.1)
XYZxyz(34.4297, 38.1662, 9.9672)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73D #3D4EB8
analogous
#B8693D #B8A73D #8BB83D
triadic
#B8A73D #3DB8A7 #A73DB8
tetradic
#B8A73D #3DB869 #3D4EB8 #B83D8B
square
#B8A73D #3DB869 #3D4EB8 #B83D8B
split-complementary
#B8A73D #3D8BB8 #693DB8
monochromatic
#5C541F #8A7D2E #B8A73D #CCBE66 #DBD294

Accessibility & contrast

On white

2.43
#B8A73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B8A73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A73D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A73D#FFFFFF#000000##000000
##B8A73D1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a73d;
/* rgb */ color: rgb(184, 167, 61);
/* oklch */ color: oklch(72.3% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#d1c078',
    500: '#b8a73d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73d;
$custom-light: #d1c078;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73d",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 51.707,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.12582,
    "h": 100.1
  },
  "luminance": 0.38165
}

Semantic roles & 50–950 ramp

primary
#B8A73D
secondary
#8A92C7
accent
#61DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73D

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

Preview Lab → · Contrast checker → · Palette generator →

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