#B1A87D#B1A87D

#B1A87D is a light, muted yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.059 H 97.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B1A87D
RGBrgb(177, 168, 125)
HSLhsl(50, 25%, 59%)
HSVhsv(50, 29%, 69%)
CMYKcmyk(0%, 5.1%, 29.4%, 30.6%)
CIE-LABlab(68.63, -3.57, 23.44)
CIE-LCHlch(68.63, 23.71, 98.67°)
OKLaboklab(72.83% -0.008 0.059)
OKLCHoklch(72.83% 0.059 97.7)
XYZxyz(35.8360, 38.8339, 25.0060)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A87D #7D86B1
analogous
#B18E7D #B1A87D #A0B17D
triadic
#B1A87D #7DB1A8 #A87DB1
tetradic
#B1A87D #7DB18E #7D86B1 #B17DA0
square
#B1A87D #7DB18E #7D86B1 #B17DA0
split-complementary
#B1A87D #7DA0B1 #8E7DB1
monochromatic
#706843 #978C5A #B1A87D #C8C2A3 #DFDBCA

Accessibility & contrast

On white

2.40
#B1A87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B1A87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A87D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A87D#FFFFFF#000000##000000
##B1A87D1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A57A
Deuteranopia (green-blind)
#B3A97E
Tritanopia (blue-blind)
#B9A29D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1a87d;
/* rgb */ color: rgb(177, 168, 125);
/* oklch */ color: oklch(72.8% 0.059 97.7);
Tailwind
colors: {
  custom: {
    50: '#c9c1a3',
    500: '#b1a87d',
    950: '#000000',
  },
}
SCSS
$custom: #b1a87d;
$custom-light: #c9c1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a87d",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 125
  },
  "hsl": {
    "h": 49.615,
    "s": 25,
    "l": 59.216
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.05949,
    "h": 97.7
  },
  "luminance": 0.38833
}

Semantic roles & 50–950 ramp

primary
#B1A87D
secondary
#BBBECF
accent
#76C166
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #B1A87D

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

Preview Lab → · Contrast checker → · Palette generator →

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