#B8A04D#B8A04D

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

Color values

HEX#B8A04D
RGBrgb(184, 160, 77)
HSLhsl(47, 43%, 51%)
HSVhsv(47, 58%, 72%)
CMYKcmyk(0%, 13%, 58.2%, 27.8%)
CIE-LABlab(66.42, -1.44, 45.77)
CIE-LCHlch(66.42, 45.79, 91.81°)
OKLaboklab(71.01% -0.0063 0.1066)
OKLCHoklch(71.01% 0.107 93.4)
XYZxyz(33.6789, 35.8694, 12.1692)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A04D #4D65B8
analogous
#B86A4D #B8A04D #9AB84D
triadic
#B8A04D #4DB8A0 #A04DB8
tetradic
#B8A04D #4DB86A #4D65B8 #B84D9A
square
#B8A04D #4DB86A #4D65B8 #B84D9A
split-complementary
#B8A04D #4D9AB8 #6A4DB8
monochromatic
#635628 #8F7C39 #B8A04D #C9B779 #DBCFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A04D#FFFFFF#000000##000000
##B8A04D1.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)
#AF9D45
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a04d;
/* rgb */ color: rgb(184, 160, 77);
/* oklch */ color: oklch(71.0% 0.107 93.4);
Tailwind
colors: {
  custom: {
    50: '#d0bb81',
    500: '#b8a04d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a04d;
$custom-light: #d0bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a04d",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 77
  },
  "hsl": {
    "h": 46.542,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71008,
    "c": 0.10679,
    "h": 93.4
  },
  "luminance": 0.35868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A04D

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

Preview Lab → · Contrast checker → · Palette generator →

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