#B2B386#B2B386

#B2B386 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.061 H 108.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B2B386
RGBrgb(178, 179, 134)
HSLhsl(61, 23%, 61%)
HSVhsv(61, 25%, 70%)
CMYKcmyk(0.6%, 0%, 25.1%, 29.8%)
CIE-LABlab(71.84, -7.78, 22.94)
CIE-LCHlch(71.84, 24.22, 108.74°)
OKLaboklab(75.45% -0.0198 0.0579)
OKLCHoklch(75.45% 0.061 108.8)
XYZxyz(38.7832, 43.4269, 28.8888)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B386 #8786B3
analogous
#B39E86 #B2B386 #9CB386
triadic
#B2B386 #86B2B3 #B386B2
tetradic
#B2B386 #86B39E #8786B3 #B3869C
square
#B2B386 #86B39E #8786B3 #B3869C
split-complementary
#B2B386 #869CB3 #9E86B3
monochromatic
#74754A #999B61 #B2B386 #CACBAC #E2E2D1

Accessibility & contrast

On white

2.17
#B2B386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B2B386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B386
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B386#FFFFFF#000000##000000
##B2B3861.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAF83
Deuteranopia (green-blind)
#BBB188
Tritanopia (blue-blind)
#B8ADA7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b386;
/* rgb */ color: rgb(178, 179, 134);
/* oklch */ color: oklch(75.5% 0.061 108.8);
Tailwind
colors: {
  custom: {
    50: '#c9c9a9',
    500: '#b2b386',
    950: '#000000',
  },
}
SCSS
$custom: #b2b386;
$custom-light: #c9c9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b386",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 134
  },
  "hsl": {
    "h": 61.333,
    "s": 22.843,
    "l": 61.373
  },
  "oklch": {
    "l": 0.75451,
    "c": 0.0612,
    "h": 108.8
  },
  "luminance": 0.43426
}

Semantic roles & 50–950 ramp

primary
#B2B386
secondary
#C2C2D3
accent
#44A146
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B2B386

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

Preview Lab → · Contrast checker → · Palette generator →

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