#B8A04A#B8A04A

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

Color values

HEX#B8A04A
RGBrgb(184, 160, 74)
HSLhsl(47, 44%, 51%)
HSVhsv(47, 60%, 72%)
CMYKcmyk(0%, 13%, 59.8%, 27.8%)
CIE-LABlab(66.39, -1.67, 47.17)
CIE-LCHlch(66.39, 47.20, 92.03°)
OKLaboklab(70.97% -0.0073 0.1093)
OKLCHoklch(70.97% 0.11 93.8)
XYZxyz(33.5754, 35.8280, 11.6242)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A04A #4A62B8
analogous
#B8694A #B8A04A #99B84A
triadic
#B8A04A #4AB8A0 #A04AB8
tetradic
#B8A04A #4AB869 #4A62B8 #B84A99
square
#B8A04A #4AB869 #4A62B8 #B84A99
split-complementary
#B8A04A #4A99B8 #694AB8
monochromatic
#615426 #8D7B37 #B8A04A #C9B776 #DACEA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A04A#FFFFFF#000000##000000
##B8A04A1.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)
#AF9D41
Deuteranopia (green-blind)
#B5A54E
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a04a;
/* rgb */ color: rgb(184, 160, 74);
/* oklch */ color: oklch(71.0% 0.110 93.8);
Tailwind
colors: {
  custom: {
    50: '#d0bb7f',
    500: '#b8a04a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a04a;
$custom-light: #d0bb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a04a",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 74
  },
  "hsl": {
    "h": 46.909,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.1095,
    "h": 93.8
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#B8A04A
secondary
#96A1C7
accent
#70D354
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A04A

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

Preview Lab → · Contrast checker → · Palette generator →

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