#B8A04C#B8A04C

#B8A04C is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.108 H 93.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B8A04C
RGBrgb(184, 160, 76)
HSLhsl(47, 43%, 51%)
HSVhsv(47, 59%, 72%)
CMYKcmyk(0%, 13%, 58.7%, 27.8%)
CIE-LABlab(66.41, -1.52, 46.24)
CIE-LCHlch(66.41, 46.26, 91.88°)
OKLaboklab(71% -0.0067 0.1075)
OKLCHoklch(71% 0.108 93.6)
XYZxyz(33.6439, 35.8554, 11.9847)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A04C #4C64B8
analogous
#B86A4C #B8A04C #9AB84C
triadic
#B8A04C #4CB8A0 #A04CB8
tetradic
#B8A04C #4CB86A #4C64B8 #B84C9A
square
#B8A04C #4CB86A #4C64B8 #B84C9A
split-complementary
#B8A04C #4C9AB8 #6A4CB8
monochromatic
#635527 #8E7B38 #B8A04C #C9B778 #DBCFA4

Accessibility & contrast

On white

2.57
#B8A04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B8A04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A04C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A04C#FFFFFF#000000##000000
##B8A04C1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D44
Deuteranopia (green-blind)
#B5A550
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a04c;
/* rgb */ color: rgb(184, 160, 76);
/* oklch */ color: oklch(71.0% 0.108 93.6);
Tailwind
colors: {
  custom: {
    50: '#d0bb81',
    500: '#b8a04c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a04c;
$custom-light: #d0bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a04c",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 76
  },
  "hsl": {
    "h": 46.667,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.1077,
    "h": 93.6
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

primary
#B8A04C
secondary
#98A3C8
accent
#71D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A04C

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

Preview Lab → · Contrast checker → · Palette generator →

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