#BBB28B#BBB28B

#BBB28B is a light, muted yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.054 H 96.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BBB28B
RGBrgb(187, 178, 139)
HSLhsl(49, 26%, 64%)
HSVhsv(49, 26%, 73%)
CMYKcmyk(0%, 4.8%, 25.7%, 26.7%)
CIE-LABlab(72.41, -3.05, 21.14)
CIE-LCHlch(72.41, 21.36, 98.22°)
OKLaboklab(76.11% -0.0062 0.0536)
OKLCHoklch(76.11% 0.054 96.6)
XYZxyz(41.0742, 44.2705, 30.8024)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB28B #8B94BB
analogous
#BB9A8B #BBB28B #ACBB8B
triadic
#BBB28B #8BBBB2 #B28BBB
tetradic
#BBB28B #8BBB9A #8B94BB #BB8BAC
square
#BBB28B #8BBB9A #8B94BB #BB8BAC
split-complementary
#BBB28B #8BACBB #9A8BBB
monochromatic
#80764B #A49864 #BBB28B #D2CCB2 #E8E5D8

Accessibility & contrast

On white

2.13
#BBB28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#BBB28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB28B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB28B#FFFFFF#000000##000000
##BBB28B1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAB089
Deuteranopia (green-blind)
#BDB38C
Tritanopia (blue-blind)
#C3ACA7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb28b;
/* rgb */ color: rgb(187, 178, 139);
/* oklch */ color: oklch(76.1% 0.054 96.6);
Tailwind
colors: {
  custom: {
    50: '#d0c9ad',
    500: '#bbb28b',
    950: '#000000',
  },
}
SCSS
$custom: #bbb28b;
$custom-light: #d0c9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb28b",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 139
  },
  "hsl": {
    "h": 48.75,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.76109,
    "c": 0.05398,
    "h": 96.6
  },
  "luminance": 0.4427
}

Semantic roles & 50–950 ramp

primary
#BBB28B
secondary
#C8CCD9
accent
#54A541
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBB28B

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

Preview Lab → · Contrast checker → · Palette generator →

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