#B5A87F#B5A87F

#B5A87F is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.058 H 92.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B5A87F
RGBrgb(181, 168, 127)
HSLhsl(46, 27%, 60%)
HSVhsv(46, 30%, 71%)
CMYKcmyk(0%, 7.2%, 29.8%, 29%)
CIE-LABlab(69.01, -1.72, 22.93)
CIE-LCHlch(69.01, 22.99, 94.28°)
OKLaboklab(73.23% -0.0026 0.0578)
OKLCHoklch(73.23% 0.058 92.6)
XYZxyz(36.8898, 39.3623, 25.7290)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A87F #7F8CB5
analogous
#B58D7F #B5A87F #A7B57F
triadic
#B5A87F #7FB5A8 #A87FB5
tetradic
#B5A87F #7FB58D #7F8CB5 #B57FA7
square
#B5A87F #7FB58D #7F8CB5 #B57FA7
split-complementary
#B5A87F #7FA7B5 #8D7FB5
monochromatic
#766A44 #9C8D5A #B5A87F #CBC2A6 #E2DDCD

Accessibility & contrast

On white

2.37
#B5A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B5A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A87F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A87F#FFFFFF#000000##000000
##B5A87F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A67C
Deuteranopia (green-blind)
#B4AA80
Tritanopia (blue-blind)
#BEA29D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5a87f;
/* rgb */ color: rgb(181, 168, 127);
/* oklch */ color: oklch(73.2% 0.058 92.6);
Tailwind
colors: {
  custom: {
    50: '#ccc1a4',
    500: '#b5a87f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a87f;
$custom-light: #ccc1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a87f",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 45.556,
    "s": 26.733,
    "l": 60.392
  },
  "oklch": {
    "l": 0.73231,
    "c": 0.05782,
    "h": 92.6
  },
  "luminance": 0.39361
}

Semantic roles & 50–950 ramp

primary
#B5A87F
secondary
#BEC3D2
accent
#59A540
background
#FCFBFA
surface
#F9F7F4
border
#D2D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #B5A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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