#B8A73F#B8A73F

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

Color values

HEX#B8A73F
RGBrgb(184, 167, 63)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 9.2%, 65.8%, 27.8%)
CIE-LABlab(68.16, -6.14, 54.10)
CIE-LCHlch(68.16, 54.45, 96.48°)
OKLaboklab(72.34% -0.0215 0.1224)
OKLCHoklch(72.34% 0.124 100)
XYZxyz(34.4846, 38.1882, 10.2563)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73F #3F50B8
analogous
#B86A3F #B8A73F #8CB83F
triadic
#B8A73F #3FB8A7 #A73FB8
tetradic
#B8A73F #3FB86A #3F50B8 #B83F8C
square
#B8A73F #3FB86A #3F50B8 #B83F8C
split-complementary
#B8A73F #3F8CB8 #6A3FB8
monochromatic
#5D5420 #8A7E2F #B8A73F #CCBE69 #DBD196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A73F#FFFFFF#000000##000000
##B8A73F1.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)
#B6A232
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a73f;
/* rgb */ color: rgb(184, 167, 63);
/* oklch */ color: oklch(72.3% 0.124 100.0);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b8a73f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73f;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73f",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 51.57,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.1243,
    "h": 100
  },
  "luminance": 0.38187
}

Semantic roles & 50–950 ramp

primary
#B8A73F
secondary
#8C94C7
accent
#63D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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