#B2B187#B2B187

#B2B187 is a light, muted yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.057 H 106.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B2B187
RGBrgb(178, 177, 135)
HSLhsl(59, 22%, 61%)
HSVhsv(59, 24%, 70%)
CMYKcmyk(0%, 0.6%, 24.2%, 30.2%)
CIE-LABlab(71.32, -6.58, 21.69)
CIE-LCHlch(71.32, 22.67, 106.88°)
OKLaboklab(75.05% -0.0163 0.0549)
OKLCHoklch(75.05% 0.057 106.6)
XYZxyz(38.4554, 42.6591, 29.1252)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B187 #8788B2
analogous
#B29C87 #B2B187 #9EB287
triadic
#B2B187 #87B2B1 #B187B2
tetradic
#B2B187 #87B29C #8788B2 #B2879E
square
#B2B187 #87B29C #8788B2 #B2879E
split-complementary
#B2B187 #879EB2 #9C87B2
monochromatic
#74734A #999862 #B2B187 #CAC9AC #E2E1D2

Accessibility & contrast

On white

2.20
#B2B187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B2B187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B187
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B187#FFFFFF#000000##000000
##B2B1871.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AE84
Deuteranopia (green-blind)
#B9B089
Tritanopia (blue-blind)
#B8ACA6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b187;
/* rgb */ color: rgb(178, 177, 135);
/* oklch */ color: oklch(75.0% 0.057 106.6);
Tailwind
colors: {
  custom: {
    50: '#c9c8aa',
    500: '#b2b187',
    950: '#000000',
  },
}
SCSS
$custom: #b2b187;
$custom-light: #c9c8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b187",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 135
  },
  "hsl": {
    "h": 58.605,
    "s": 21.827,
    "l": 61.373
  },
  "oklch": {
    "l": 0.75045,
    "c": 0.0573,
    "h": 106.6
  },
  "luminance": 0.42659
}

Semantic roles & 50–950 ramp

primary
#B2B187
secondary
#C2C3D2
accent
#47A045
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B2B187

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

Preview Lab → · Contrast checker → · Palette generator →

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