#BBB87F#BBB87F

#BBB87F is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.1% C 0.076 H 105.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BBB87F
RGBrgb(187, 184, 127)
HSLhsl(57, 31%, 62%)
HSVhsv(57, 32%, 73%)
CMYKcmyk(0%, 1.6%, 32.1%, 26.7%)
CIE-LABlab(73.79, -7.81, 29.41)
CIE-LCHlch(73.79, 30.43, 104.88°)
OKLaboklab(77.13% -0.0203 0.0731)
OKLCHoklch(77.13% 0.076 105.5)
XYZxyz(41.4651, 46.3789, 26.8423)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB87F #7F82BB
analogous
#BB9A7F #BBB87F #A0BB7F
triadic
#BBB87F #7FBBB8 #B87FBB
tetradic
#BBB87F #7FBB9A #7F82BB #BB7FA0
square
#BBB87F #7FBB9A #7F82BB #BB7FA0
split-complementary
#BBB87F #7FA0BB #9A7FBB
monochromatic
#7D7A42 #A5A158 #BBB87F #D0CEA7 #E5E4CF

Accessibility & contrast

On white

2.04
#BBB87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BBB87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB87F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB87F#FFFFFF#000000##000000
##BBB87F1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B47B
Deuteranopia (green-blind)
#C3B781
Tritanopia (blue-blind)
#C4B1A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbb87f;
/* rgb */ color: rgb(187, 184, 127);
/* oklch */ color: oklch(77.1% 0.076 105.5);
Tailwind
colors: {
  custom: {
    50: '#d0cda4',
    500: '#bbb87f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb87f;
$custom-light: #d0cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb87f",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 57,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77131,
    "c": 0.07587,
    "h": 105.5
  },
  "luminance": 0.46378
}

Semantic roles & 50–950 ramp

primary
#BBB87F
secondary
#C0C1D6
accent
#42A93C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB87F

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

Preview Lab → · Contrast checker → · Palette generator →

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