#B8A771#B8A771

#B8A771 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.075 H 92.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B8A771
RGBrgb(184, 167, 113)
HSLhsl(46, 33%, 58%)
HSVhsv(46, 39%, 72%)
CMYKcmyk(0%, 9.2%, 38.6%, 27.8%)
CIE-LABlab(68.77, -1.72, 30.18)
CIE-LCHlch(68.77, 30.23, 93.26°)
OKLaboklab(73.02% -0.0034 0.0745)
OKLCHoklch(73.02% 0.075 92.6)
XYZxyz(36.5673, 39.0213, 21.2252)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A771 #7182B8
analogous
#B88371 #B8A771 #A5B871
triadic
#B8A771 #71B8A7 #A771B8
tetradic
#B8A771 #71B883 #7182B8 #B871A5
square
#B8A771 #71B883 #7182B8 #B871A5
split-complementary
#B8A771 #71A5B8 #8371B8
monochromatic
#74663A #9D8A4F #B8A771 #CCC09A #E1DAC3

Accessibility & contrast

On white

2.39
#B8A771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B8A771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A771
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A771#FFFFFF#000000##000000
##B8A7711.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56D
Deuteranopia (green-blind)
#B7AA73
Tritanopia (blue-blind)
#C39F99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a771;
/* rgb */ color: rgb(184, 167, 113);
/* oklch */ color: oklch(73.0% 0.075 92.6);
Tailwind
colors: {
  custom: {
    50: '#cec19a',
    500: '#b8a771',
    950: '#000000',
  },
}
SCSS
$custom: #b8a771;
$custom-light: #cec19a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a771",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 45.634,
    "s": 33.333,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7302,
    "c": 0.07456,
    "h": 92.6
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#B8A771
secondary
#B4BBD1
accent
#78C95E
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #B8A771

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

Preview Lab → · Contrast checker → · Palette generator →

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