#B8A54A#B8A54A

#B8A54A is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.113 H 97.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A54A
RGBrgb(184, 165, 74)
HSLhsl(50, 44%, 51%)
HSVhsv(50, 60%, 72%)
CMYKcmyk(0%, 10.3%, 59.8%, 27.8%)
CIE-LABlab(67.72, -4.34, 48.68)
CIE-LCHlch(67.72, 48.87, 95.10°)
OKLaboklab(72.03% -0.015 0.1125)
OKLCHoklch(72.03% 0.113 97.6)
XYZxyz(34.4597, 37.5966, 11.9190)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A54A #4A5DB8
analogous
#B86E4A #B8A54A #94B84A
triadic
#B8A54A #4AB8A5 #A54AB8
tetradic
#B8A54A #4AB86E #4A5DB8 #B84A94
square
#B8A54A #4AB86E #4A5DB8 #B84A94
split-complementary
#B8A54A #4A94B8 #6E4AB8
monochromatic
#615726 #8D7F37 #B8A54A #C9BB76 #DAD1A2

Accessibility & contrast

On white

2.47
#B8A54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B8A54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A54A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A54A#FFFFFF#000000##000000
##B8A54A1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A141
Deuteranopia (green-blind)
#B9A84E
Tritanopia (blue-blind)
#C59A91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a54a;
/* rgb */ color: rgb(184, 165, 74);
/* oklch */ color: oklch(72.0% 0.113 97.6);
Tailwind
colors: {
  custom: {
    50: '#d0bf80',
    500: '#b8a54a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a54a;
$custom-light: #d0bf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a54a",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 74
  },
  "hsl": {
    "h": 49.636,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.11348,
    "h": 97.6
  },
  "luminance": 0.37595
}

Semantic roles & 50–950 ramp

primary
#B8A54A
secondary
#969FC7
accent
#6AD354
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A54A

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

Preview Lab → · Contrast checker → · Palette generator →

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