#B4B587#B4B587

#B4B587 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.062 H 108.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B4B587
RGBrgb(180, 181, 135)
HSLhsl(61, 24%, 62%)
HSVhsv(61, 25%, 71%)
CMYKcmyk(0.6%, 0%, 25.4%, 29%)
CIE-LABlab(72.56, -7.92, 23.40)
CIE-LCHlch(72.56, 24.71, 108.69°)
OKLaboklab(76.07% -0.0201 0.0591)
OKLCHoklch(76.07% 0.062 108.8)
XYZxyz(39.7194, 44.5008, 29.4141)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B587 #8887B5
analogous
#B59F87 #B4B587 #9DB587
triadic
#B4B587 #87B4B5 #B587B4
tetradic
#B4B587 #87B59F #8887B5 #B5879D
square
#B4B587 #87B59F #8887B5 #B5879D
split-complementary
#B4B587 #879DB5 #9F87B5
monochromatic
#77784A #9C9E61 #B4B587 #CCCCAD #E3E4D3

Accessibility & contrast

On white

2.12
#B4B587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#B4B587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B587
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B587#FFFFFF#000000##000000
##B4B5871.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB184
Deuteranopia (green-blind)
#BDB389
Tritanopia (blue-blind)
#BBAFA9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b587;
/* rgb */ color: rgb(180, 181, 135);
/* oklch */ color: oklch(76.1% 0.062 108.8);
Tailwind
colors: {
  custom: {
    50: '#cbcbaa',
    500: '#b4b587',
    950: '#000000',
  },
}
SCSS
$custom: #b4b587;
$custom-light: #cbcbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b587",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 135
  },
  "hsl": {
    "h": 61.304,
    "s": 23.711,
    "l": 61.961
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.06239,
    "h": 108.8
  },
  "luminance": 0.445
}

Semantic roles & 50–950 ramp

primary
#B4B587
secondary
#C4C3D4
accent
#43A245
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B4B587

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

Preview Lab → · Contrast checker → · Palette generator →

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