#BBB28C#BBB28C

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

Color values

HEX#BBB28C
RGBrgb(187, 178, 140)
HSLhsl(49, 26%, 64%)
HSVhsv(49, 25%, 73%)
CMYKcmyk(0%, 4.8%, 25.1%, 26.7%)
CIE-LABlab(72.43, -2.91, 20.62)
CIE-LCHlch(72.43, 20.83, 98.04°)
OKLaboklab(76.13% -0.0058 0.0524)
OKLCHoklch(76.13% 0.053 96.3)
XYZxyz(41.1476, 44.2999, 31.1890)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB28C #8C95BB
analogous
#BB9B8C #BBB28C #ADBB8C
triadic
#BBB28C #8CBBB2 #B28CBB
tetradic
#BBB28C #8CBB9B #8C95BB #BB8CAD
square
#BBB28C #8CBB9B #8C95BB #BB8CAD
split-complementary
#BBB28C #8CADBB #9B8CBB
monochromatic
#81774C #A49866 #BBB28C #D2CCB2 #E8E6D9

Accessibility & contrast

On white

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

On black

9.86
#BBB28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB28C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB28C#FFFFFF#000000##000000
##BBB28C1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAB08A
Deuteranopia (green-blind)
#BDB38D
Tritanopia (blue-blind)
#C3ACA8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb28c;
/* rgb */ color: rgb(187, 178, 140);
/* oklch */ color: oklch(76.1% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#d0c9ad',
    500: '#bbb28c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb28c;
$custom-light: #d0c9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb28c",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 140
  },
  "hsl": {
    "h": 48.511,
    "s": 25.683,
    "l": 64.118
  },
  "oklch": {
    "l": 0.76131,
    "c": 0.0527,
    "h": 96.3
  },
  "luminance": 0.44299
}

Semantic roles & 50–950 ramp

primary
#BBB28C
secondary
#C9CCDA
accent
#54A441
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBB28C

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

Preview Lab → · Contrast checker → · Palette generator →

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