#B8B87F#B8B87F

#B8B87F is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.076 H 108.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B8B87F
RGBrgb(184, 184, 127)
HSLhsl(60, 29%, 61%)
HSVhsv(60, 31%, 72%)
CMYKcmyk(0%, 0%, 31%, 27.8%)
CIE-LABlab(73.55, -9.00, 29.04)
CIE-LCHlch(73.55, 30.40, 107.21°)
OKLaboklab(76.88% -0.0236 0.0723)
OKLCHoklch(76.88% 0.076 108.1)
XYZxyz(40.7387, 46.0043, 26.8082)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B87F #7F7FB8
analogous
#B89B7F #B8B87F #9BB87F
triadic
#B8B87F #7FB8B8 #B87FB8
tetradic
#B8B87F #7FB89B #7F7FB8 #B87F9B
square
#B8B87F #7FB89B #7F7FB8 #B87F9B
split-complementary
#B8B87F #7F9BB8 #9B7FB8
monochromatic
#797943 #A1A159 #B8B87F #CECEA6 #E4E4CE

Accessibility & contrast

On white

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

On black

10.20
#B8B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B87F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B87F#FFFFFF#000000##000000
##B8B87F1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b87f;
/* rgb */ color: rgb(184, 184, 127);
/* oklch */ color: oklch(76.9% 0.076 108.1);
Tailwind
colors: {
  custom: {
    50: '#cecda4',
    500: '#b8b87f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b87f;
$custom-light: #cecda4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b87f",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.7688,
    "c": 0.07603,
    "h": 108.1
  },
  "luminance": 0.46004
}

Semantic roles & 50–950 ramp

primary
#B8B87F
secondary
#BFBFD4
accent
#3EA73E
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #B8B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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