#B8A147#B8A147

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

Color values

HEX#B8A147
RGBrgb(184, 161, 71)
HSLhsl(48, 44%, 50%)
HSVhsv(48, 61%, 72%)
CMYKcmyk(0%, 12.5%, 61.4%, 27.8%)
CIE-LABlab(66.62, -2.42, 48.85)
CIE-LCHlch(66.62, 48.91, 92.84°)
OKLaboklab(71.15% -0.0099 0.1125)
OKLCHoklch(71.15% 0.113 95)
XYZxyz(33.6508, 36.1367, 11.1626)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A147 #475EB8
analogous
#B86947 #B8A147 #96B847
triadic
#B8A147 #47B8A1 #A147B8
tetradic
#B8A147 #47B869 #475EB8 #B84796
square
#B8A147 #47B869 #475EB8 #B84796
split-complementary
#B8A147 #4796B8 #6947B8
monochromatic
#605425 #8C7A36 #B8A147 #C9B873 #DACE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A147#FFFFFF#000000##000000
##B8A1471.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)
#B09E3D
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a147;
/* rgb */ color: rgb(184, 161, 71);
/* oklch */ color: oklch(71.2% 0.113 95.0);
Tailwind
colors: {
  custom: {
    50: '#d0bc7e',
    500: '#b8a147',
    950: '#000000',
  },
}
SCSS
$custom: #b8a147;
$custom-light: #d0bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a147",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 47.788,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.11289,
    "h": 95
  },
  "luminance": 0.36135
}

Semantic roles & 50–950 ramp

primary
#B8A147
secondary
#949EC7
accent
#6ED454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A147

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

Preview Lab → · Contrast checker → · Palette generator →

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