#BBB87E#BBB87E

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

Color values

HEX#BBB87E
RGBrgb(187, 184, 126)
HSLhsl(57, 31%, 61%)
HSVhsv(57, 33%, 73%)
CMYKcmyk(0%, 1.6%, 32.6%, 26.7%)
CIE-LABlab(73.77, -7.94, 29.91)
CIE-LCHlch(73.77, 30.95, 104.87°)
OKLaboklab(77.11% -0.0207 0.0743)
OKLCHoklch(77.11% 0.077 105.6)
XYZxyz(41.4003, 46.3529, 26.5007)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB87E #7E81BB
analogous
#BB9A7E #BBB87E #A0BB7E
triadic
#BBB87E #7EBBB8 #B87EBB
tetradic
#BBB87E #7EBB9A #7E81BB #BB7EA0
square
#BBB87E #7EBB9A #7E81BB #BB7EA0
split-complementary
#BBB87E #7EA0BB #9A7EBB
monochromatic
#7D7A42 #A5A157 #BBB87E #D0CEA6 #E5E4CE

Accessibility & contrast

On white

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

On black

10.27
#BBB87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB87E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB87E#FFFFFF#000000##000000
##BBB87E1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbb87e;
/* rgb */ color: rgb(187, 184, 126);
/* oklch */ color: oklch(77.1% 0.077 105.6);
Tailwind
colors: {
  custom: {
    50: '#d0cda4',
    500: '#bbb87e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb87e;
$custom-light: #d0cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb87e",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 126
  },
  "hsl": {
    "h": 57.049,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77112,
    "c": 0.0771,
    "h": 105.6
  },
  "luminance": 0.46352
}

Semantic roles & 50–950 ramp

primary
#BBB87E
secondary
#BFC0D6
accent
#41AA3C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB87E

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

Preview Lab → · Contrast checker → · Palette generator →

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