#B8A73A#B8A73A

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

Color values

HEX#B8A73A
RGBrgb(184, 167, 58)
HSLhsl(52, 52%, 47%)
HSVhsv(52, 68%, 72%)
CMYKcmyk(0%, 9.2%, 68.5%, 27.8%)
CIE-LABlab(68.12, -6.43, 56.16)
CIE-LCHlch(68.12, 56.53, 96.53°)
OKLaboklab(72.3% -0.0229 0.126)
OKLCHoklch(72.3% 0.128 100.3)
XYZxyz(34.3511, 38.1348, 9.5535)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73A #3A4BB8
analogous
#B8683A #B8A73A #8AB83A
triadic
#B8A73A #3AB8A7 #A73AB8
tetradic
#B8A73A #3AB868 #3A4BB8 #B83A8A
square
#B8A73A #3AB868 #3A4BB8 #B83A8A
split-complementary
#B8A73A #3A8AB8 #683AB8
monochromatic
#5B531D #897D2B #B8A73A #CDBF62 #DCD290

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A73A#FFFFFF#000000##000000
##B8A73A1.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)
#B7A22B
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a73a;
/* rgb */ color: rgb(184, 167, 58);
/* oklch */ color: oklch(72.3% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d1c076',
    500: '#b8a73a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73a;
$custom-light: #d1c076;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73a",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 51.905,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.12802,
    "h": 100.3
  },
  "luminance": 0.38133
}

Semantic roles & 50–950 ramp

primary
#B8A73A
secondary
#878FC7
accent
#60DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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