#B8A73C#B8A73C

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

Color values

HEX#B8A73C
RGBrgb(184, 167, 60)
HSLhsl(52, 51%, 48%)
HSVhsv(52, 67%, 72%)
CMYKcmyk(0%, 9.2%, 67.4%, 27.8%)
CIE-LABlab(68.14, -6.32, 55.35)
CIE-LCHlch(68.14, 55.71, 96.51°)
OKLaboklab(72.32% -0.0223 0.1246)
OKLCHoklch(72.32% 0.127 100.2)
XYZxyz(34.4030, 38.1556, 9.8267)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73C #3C4DB8
analogous
#B8693C #B8A73C #8BB83C
triadic
#B8A73C #3CB8A7 #A73CB8
tetradic
#B8A73C #3CB869 #3C4DB8 #B83C8B
square
#B8A73C #3CB869 #3C4DB8 #B83C8B
split-complementary
#B8A73C #3C8BB8 #693CB8
monochromatic
#5C531E #8A7D2D #B8A73C #CDBE65 #DCD293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A73C#FFFFFF#000000##000000
##B8A73C1.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)
#B6A22E
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a73c;
/* rgb */ color: rgb(184, 167, 60);
/* oklch */ color: oklch(72.3% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#d1c077',
    500: '#b8a73c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73c;
$custom-light: #d1c077;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73c",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 51.774,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72315,
    "c": 0.12657,
    "h": 100.2
  },
  "luminance": 0.38154
}

Semantic roles & 50–950 ramp

primary
#B8A73C
secondary
#8991C7
accent
#61DA4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73C

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

Preview Lab → · Contrast checker → · Palette generator →

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