#B7B87F#B7B87F

#B7B87F is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.8% C 0.076 H 108.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B7B87F
RGBrgb(183, 184, 127)
HSLhsl(61, 29%, 61%)
HSVhsv(61, 31%, 72%)
CMYKcmyk(0.5%, 0%, 31%, 27.8%)
CIE-LABlab(73.47, -9.39, 28.92)
CIE-LCHlch(73.47, 30.41, 107.99°)
OKLaboklab(76.8% -0.0247 0.072)
OKLCHoklch(76.8% 0.076 108.9)
XYZxyz(40.4999, 45.8812, 26.7970)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B87F #807FB8
analogous
#B89C7F #B7B87F #9AB87F
triadic
#B7B87F #7FB7B8 #B87FB7
tetradic
#B7B87F #7FB89C #807FB8 #B87F9A
square
#B7B87F #7FB89C #807FB8 #B87F9A
split-complementary
#B7B87F #7F9AB8 #9C7FB8
monochromatic
#787943 #9FA159 #B7B87F #CDCEA6 #E3E4CE

Accessibility & contrast

On white

2.06
#B7B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B7B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B87F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B87F#FFFFFF#000000##000000
##B7B87F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37B
Deuteranopia (green-blind)
#C2B681
Tritanopia (blue-blind)
#BFB1A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7b87f;
/* rgb */ color: rgb(183, 184, 127);
/* oklch */ color: oklch(76.8% 0.076 108.9);
Tailwind
colors: {
  custom: {
    50: '#cdcda4',
    500: '#b7b87f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b87f;
$custom-light: #cdcda4;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b87f",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 61.053,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76797,
    "c": 0.07611,
    "h": 108.9
  },
  "luminance": 0.45881
}

Semantic roles & 50–950 ramp

primary
#B7B87F
secondary
#BFBFD4
accent
#3EA740
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B7B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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