#B8A73E#B8A73E

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

Color values

HEX#B8A73E
RGBrgb(184, 167, 62)
HSLhsl(52, 50%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 9.2%, 66.3%, 27.8%)
CIE-LABlab(68.15, -6.20, 54.52)
CIE-LCHlch(68.15, 54.87, 96.49°)
OKLaboklab(72.33% -0.0218 0.1232)
OKLCHoklch(72.33% 0.125 100)
XYZxyz(34.4569, 38.1771, 10.1104)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73E #3E4FB8
analogous
#B86A3E #B8A73E #8CB83E
triadic
#B8A73E #3EB8A7 #A73EB8
tetradic
#B8A73E #3EB86A #3E4FB8 #B83E8C
square
#B8A73E #3EB86A #3E4FB8 #B83E8C
split-complementary
#B8A73E #3E8CB8 #6A3EB8
monochromatic
#5C541F #8A7D2F #B8A73E #CCBE67 #DBD295

Accessibility & contrast

On white

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

On black

8.64
#B8A73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A73E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A73E#FFFFFF#000000##000000
##B8A73E1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a73e;
/* rgb */ color: rgb(184, 167, 62);
/* oklch */ color: oklch(72.3% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b8a73e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73e;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73e",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 51.639,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72333,
    "c": 0.12507,
    "h": 100
  },
  "luminance": 0.38176
}

Semantic roles & 50–950 ramp

primary
#B8A73E
secondary
#8B93C7
accent
#62D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73E

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

Preview Lab → · Contrast checker → · Palette generator →

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