#B8A75D#B8A75D

#B8A75D is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.097 H 96.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B8A75D
RGBrgb(184, 167, 93)
HSLhsl(49, 39%, 54%)
HSVhsv(49, 49%, 72%)
CMYKcmyk(0%, 9.2%, 49.5%, 27.8%)
CIE-LABlab(68.47, -3.82, 40.25)
CIE-LCHlch(68.47, 40.43, 95.42°)
OKLaboklab(72.69% -0.0114 0.0961)
OKLCHoklch(72.69% 0.097 96.7)
XYZxyz(35.5628, 38.6195, 15.9348)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A75D #5D6EB8
analogous
#B87A5D #B8A75D #9CB85D
triadic
#B8A75D #5DB8A7 #A75DB8
tetradic
#B8A75D #5DB87A #5D6EB8 #B85D9C
square
#B8A75D #5DB87A #5D6EB8 #B85D9C
split-complementary
#B8A75D #5D9CB8 #7A5DB8
monochromatic
#6B602F #968642 #B8A75D #CBBE88 #DDD5B2

Accessibility & contrast

On white

2.41
#B8A75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B8A75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A75D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A75D#FFFFFF#000000##000000
##B8A75D1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A457
Deuteranopia (green-blind)
#B9A960
Tritanopia (blue-blind)
#C49D95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a75d;
/* rgb */ color: rgb(184, 167, 93);
/* oklch */ color: oklch(72.7% 0.097 96.7);
Tailwind
colors: {
  custom: {
    50: '#cfc08c',
    500: '#b8a75d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a75d;
$custom-light: #cfc08c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a75d",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 93
  },
  "hsl": {
    "h": 48.791,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.72694,
    "c": 0.09679,
    "h": 96.7
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#B8A75D
secondary
#A5ACCC
accent
#6FCF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A75D

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

Preview Lab → · Contrast checker → · Palette generator →

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