#B1A87C#B1A87C

#B1A87C is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.061 H 97.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B1A87C
RGBrgb(177, 168, 124)
HSLhsl(50, 25%, 59%)
HSVhsv(50, 30%, 69%)
CMYKcmyk(0%, 5.1%, 29.9%, 30.6%)
CIE-LABlab(68.61, -3.71, 23.95)
CIE-LCHlch(68.61, 24.24, 98.80°)
OKLaboklab(72.81% -0.0084 0.0602)
OKLCHoklch(72.81% 0.061 97.9)
XYZxyz(35.7725, 38.8084, 24.6712)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A87C #7C85B1
analogous
#B18E7C #B1A87C #A0B17C
triadic
#B1A87C #7CB1A8 #A87CB1
tetradic
#B1A87C #7CB18E #7C85B1 #B17CA0
square
#B1A87C #7CB18E #7C85B1 #B17CA0
split-complementary
#B1A87C #7CA0B1 #8E7CB1
monochromatic
#706843 #968C59 #B1A87C #C8C1A2 #DFDBC9

Accessibility & contrast

On white

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

On black

8.76
#B1A87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A87C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A87C#FFFFFF#000000##000000
##B1A87C1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1a87c;
/* rgb */ color: rgb(177, 168, 124);
/* oklch */ color: oklch(72.8% 0.061 97.9);
Tailwind
colors: {
  custom: {
    50: '#c9c1a2',
    500: '#b1a87c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a87c;
$custom-light: #c9c1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a87c",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 124
  },
  "hsl": {
    "h": 49.811,
    "s": 25.359,
    "l": 59.02
  },
  "oklch": {
    "l": 0.72813,
    "c": 0.06075,
    "h": 97.9
  },
  "luminance": 0.38808
}

Semantic roles & 50–950 ramp

primary
#B1A87C
secondary
#BABECF
accent
#76C266
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #B1A87C

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

Preview Lab → · Contrast checker → · Palette generator →

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