#B8A877#B8A877

#B8A877 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.068 H 92.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B8A877
RGBrgb(184, 168, 119)
HSLhsl(45, 31%, 59%)
HSVhsv(45, 35%, 72%)
CMYKcmyk(0%, 8.7%, 35.3%, 27.8%)
CIE-LABlab(69.13, -1.54, 27.45)
CIE-LCHlch(69.13, 27.50, 93.21°)
OKLaboklab(73.34% -0.0025 0.0683)
OKLCHoklch(73.34% 0.068 92.1)
XYZxyz(37.1002, 39.5287, 23.1247)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A877 #7787B8
analogous
#B88877 #B8A877 #A8B877
triadic
#B8A877 #77B8A8 #A877B8
tetradic
#B8A877 #77B888 #7787B8 #B877A8
square
#B8A877 #77B888 #7787B8 #B877A8
split-complementary
#B8A877 #77A8B8 #8877B8
monochromatic
#77693E #9F8C53 #B8A877 #CDC29F #E2DBC7

Accessibility & contrast

On white

2.36
#B8A877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B8A877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A877
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A877#FFFFFF#000000##000000
##B8A8771.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A674
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#C2A19B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8a877;
/* rgb */ color: rgb(184, 168, 119);
/* oklch */ color: oklch(73.3% 0.068 92.1);
Tailwind
colors: {
  custom: {
    50: '#cec19e',
    500: '#b8a877',
    950: '#000000',
  },
}
SCSS
$custom: #b8a877;
$custom-light: #cec19e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a877",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 119
  },
  "hsl": {
    "h": 45.231,
    "s": 31.401,
    "l": 59.412
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.06836,
    "h": 92.1
  },
  "luminance": 0.39528
}

Semantic roles & 50–950 ramp

primary
#B8A877
secondary
#B9BFD2
accent
#7AC860
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #B8A877

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

Preview Lab → · Contrast checker → · Palette generator →

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