#B1A87F#B1A87F

#B1A87F is a light, muted yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.057 H 97.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B1A87F
RGBrgb(177, 168, 127)
HSLhsl(49, 24%, 60%)
HSVhsv(49, 28%, 69%)
CMYKcmyk(0%, 5.1%, 28.2%, 30.6%)
CIE-LABlab(68.67, -3.30, 22.40)
CIE-LCHlch(68.67, 22.64, 98.39°)
OKLaboklab(72.88% -0.0071 0.0565)
OKLCHoklch(72.88% 0.057 97.2)
XYZxyz(35.9651, 38.8855, 25.6856)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A87F #7F88B1
analogous
#B18F7F #B1A87F #A1B17F
triadic
#B1A87F #7FB1A8 #A87FB1
tetradic
#B1A87F #7FB18F #7F88B1 #B17FA1
square
#B1A87F #7FB18F #7F88B1 #B17FA1
split-complementary
#B1A87F #7FA1B1 #8F7FB1
monochromatic
#716945 #978C5C #B1A87F #C8C2A5 #DFDCCB

Accessibility & contrast

On white

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

On black

8.78
#B1A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A87F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A87F#FFFFFF#000000##000000
##B1A87F1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1a87f;
/* rgb */ color: rgb(177, 168, 127);
/* oklch */ color: oklch(72.9% 0.057 97.2);
Tailwind
colors: {
  custom: {
    50: '#c9c1a4',
    500: '#b1a87f',
    950: '#000000',
  },
}
SCSS
$custom: #b1a87f;
$custom-light: #c9c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a87f",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 49.2,
    "s": 24.272,
    "l": 59.608
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.05696,
    "h": 97.2
  },
  "luminance": 0.38885
}

Semantic roles & 50–950 ramp

primary
#B1A87F
secondary
#BCC0D0
accent
#77C167
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #B1A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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