#BBB87C#BBB87C

#BBB87C is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.1% C 0.080 H 105.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BBB87C
RGBrgb(187, 184, 124)
HSLhsl(57, 32%, 61%)
HSVhsv(57, 34%, 73%)
CMYKcmyk(0%, 1.6%, 33.7%, 26.7%)
CIE-LABlab(73.74, -8.19, 30.92)
CIE-LCHlch(73.74, 31.99, 104.83°)
OKLaboklab(77.08% -0.0215 0.0766)
OKLCHoklch(77.08% 0.08 105.7)
XYZxyz(41.2725, 46.3018, 25.8279)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB87C #7C7FBB
analogous
#BB987C #BBB87C #9EBB7C
triadic
#BBB87C #7CBBB8 #B87CBB
tetradic
#BBB87C #7CBB98 #7C7FBB #BB7C9E
square
#BBB87C #7CBB98 #7C7FBB #BB7C9E
split-complementary
#BBB87C #7C9EBB #987CBB
monochromatic
#7C7940 #A4A155 #BBB87C #D0CEA4 #E5E4CD

Accessibility & contrast

On white

2.05
#BBB87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BBB87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB87C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB87C#FFFFFF#000000##000000
##BBB87C1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbb87c;
/* rgb */ color: rgb(187, 184, 124);
/* oklch */ color: oklch(77.1% 0.080 105.7);
Tailwind
colors: {
  custom: {
    50: '#d0cda2',
    500: '#bbb87c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb87c;
$custom-light: #d0cda2;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb87c",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 124
  },
  "hsl": {
    "h": 57.143,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77075,
    "c": 0.07953,
    "h": 105.7
  },
  "luminance": 0.46301
}

Semantic roles & 50–950 ramp

primary
#BBB87C
secondary
#BEBFD5
accent
#40AA3B
background
#FCFCFA
surface
#F9F8F3
border
#D2D1CD
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB87C

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

Preview Lab → · Contrast checker → · Palette generator →

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