#B8A73B#B8A73B

#B8A73B is a light, vivid yellow. Relative luminance 0.381; 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#B8A73B
RGBrgb(184, 167, 59)
HSLhsl(52, 51%, 48%)
HSVhsv(52, 68%, 72%)
CMYKcmyk(0%, 9.2%, 67.9%, 27.8%)
CIE-LABlab(68.13, -6.38, 55.76)
CIE-LCHlch(68.13, 56.12, 96.52°)
OKLaboklab(72.31% -0.0226 0.1253)
OKLCHoklch(72.31% 0.127 100.2)
XYZxyz(34.3768, 38.1451, 9.6888)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A73B #3B4CB8
analogous
#B8683B #B8A73B #8AB83B
triadic
#B8A73B #3BB8A7 #A73BB8
tetradic
#B8A73B #3BB868 #3B4CB8 #B83B8A
square
#B8A73B #3BB868 #3B4CB8 #B83B8A
split-complementary
#B8A73B #3B8AB8 #683BB8
monochromatic
#5B531D #8A7D2C #B8A73B #CDBF63 #DCD292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A73B#FFFFFF#000000##000000
##B8A73B1.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)
#B7A22C
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a73b;
/* rgb */ color: rgb(184, 167, 59);
/* oklch */ color: oklch(72.3% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#d1c077',
    500: '#b8a73b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a73b;
$custom-light: #d1c077;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a73b",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 51.84,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.12731,
    "h": 100.2
  },
  "luminance": 0.38144
}

Semantic roles & 50–950 ramp

primary
#B8A73B
secondary
#8890C7
accent
#60DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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