#B7B786#B7B786

#B7B786 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.7% C 0.066 H 107.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B7B786
RGBrgb(183, 183, 134)
HSLhsl(60, 25%, 62%)
HSVhsv(60, 27%, 72%)
CMYKcmyk(0%, 0%, 26.8%, 28.2%)
CIE-LABlab(73.32, -7.94, 25.01)
CIE-LCHlch(73.32, 26.24, 107.61°)
OKLaboklab(76.72% -0.0203 0.0629)
OKLCHoklch(76.72% 0.066 107.9)
XYZxyz(40.7651, 45.6561, 29.2147)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B786 #8686B7
analogous
#B79F86 #B7B786 #9FB786
triadic
#B7B786 #86B7B7 #B786B7
tetradic
#B7B786 #86B79F #8686B7 #B7869F
square
#B7B786 #86B79F #8686B7 #B7869F
split-complementary
#B7B786 #869FB7 #9F86B7
monochromatic
#7A7A49 #A0A060 #B7B786 #CECEAC #E5E5D3

Accessibility & contrast

On white

2.07
#B7B786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B7B786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B786
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B786#FFFFFF#000000##000000
##B7B7861.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB383
Deuteranopia (green-blind)
#C0B588
Tritanopia (blue-blind)
#BEB1AA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7b786;
/* rgb */ color: rgb(183, 183, 134);
/* oklch */ color: oklch(76.7% 0.066 107.9);
Tailwind
colors: {
  custom: {
    50: '#cdcca9',
    500: '#b7b786',
    950: '#000000',
  },
}
SCSS
$custom: #b7b786;
$custom-light: #cdcca9;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b786",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 25.389,
    "l": 62.157
  },
  "oklch": {
    "l": 0.76721,
    "c": 0.06606,
    "h": 107.9
  },
  "luminance": 0.45655
}

Semantic roles & 50–950 ramp

primary
#B7B786
secondary
#C3C3D5
accent
#42A442
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B7B786

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

Preview Lab → · Contrast checker → · Palette generator →

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