#B8A149#B8A149

#B8A149 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.111 H 94.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B8A149
RGBrgb(184, 161, 73)
HSLhsl(48, 44%, 50%)
HSVhsv(48, 60%, 72%)
CMYKcmyk(0%, 12.5%, 60.3%, 27.8%)
CIE-LABlab(66.64, -2.28, 47.93)
CIE-LCHlch(66.64, 47.99, 92.72°)
OKLaboklab(71.17% -0.0092 0.1108)
OKLCHoklch(71.17% 0.111 94.8)
XYZxyz(33.7161, 36.1627, 11.5062)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A149 #4960B8
analogous
#B86A49 #B8A149 #97B849
triadic
#B8A149 #49B8A1 #A149B8
tetradic
#B8A149 #49B86A #4960B8 #B84997
square
#B8A149 #49B86A #4960B8 #B84997
split-complementary
#B8A149 #4997B8 #6A49B8
monochromatic
#615526 #8D7B37 #B8A149 #C9B875 #DACEA1

Accessibility & contrast

On white

2.55
#B8A149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B8A149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A149
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A149#FFFFFF#000000##000000
##B8A1491.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E40
Deuteranopia (green-blind)
#B6A54D
Tritanopia (blue-blind)
#C6968E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a149;
/* rgb */ color: rgb(184, 161, 73);
/* oklch */ color: oklch(71.2% 0.111 94.8);
Tailwind
colors: {
  custom: {
    50: '#d0bc7f',
    500: '#b8a149',
    950: '#000000',
  },
}
SCSS
$custom: #b8a149;
$custom-light: #d0bc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a149",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 73
  },
  "hsl": {
    "h": 47.568,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71172,
    "c": 0.11114,
    "h": 94.8
  },
  "luminance": 0.36161
}

Semantic roles & 50–950 ramp

primary
#B8A149
secondary
#96A0C7
accent
#6FD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A149

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

Preview Lab → · Contrast checker → · Palette generator →

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