#BBB28A#BBB28A

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

Color values

HEX#BBB28A
RGBrgb(187, 178, 138)
HSLhsl(49, 26%, 64%)
HSVhsv(49, 26%, 73%)
CMYKcmyk(0%, 4.8%, 26.2%, 26.7%)
CIE-LABlab(72.39, -3.19, 21.65)
CIE-LCHlch(72.39, 21.88, 98.39°)
OKLaboklab(76.09% -0.0066 0.0549)
OKLCHoklch(76.09% 0.055 96.9)
XYZxyz(41.0015, 44.2414, 30.4194)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB28A #8A93BB
analogous
#BB998A #BBB28A #ABBB8A
triadic
#BBB28A #8ABBB2 #B28ABB
tetradic
#BBB28A #8ABB99 #8A93BB #BB8AAB
square
#BBB28A #8ABB99 #8A93BB #BB8AAB
split-complementary
#BBB28A #8AABBB #998ABB
monochromatic
#80764A #A59963 #BBB28A #D1CBB1 #E8E5D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB28A#FFFFFF#000000##000000
##BBB28A1.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)
#BAB087
Deuteranopia (green-blind)
#BDB38B
Tritanopia (blue-blind)
#C3ACA7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb28a;
/* rgb */ color: rgb(187, 178, 138);
/* oklch */ color: oklch(76.1% 0.055 96.9);
Tailwind
colors: {
  custom: {
    50: '#d0c9ac',
    500: '#bbb28a',
    950: '#000000',
  },
}
SCSS
$custom: #bbb28a;
$custom-light: #d0c9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb28a",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 138
  },
  "hsl": {
    "h": 48.98,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.76088,
    "c": 0.05525,
    "h": 96.9
  },
  "luminance": 0.44241
}

Semantic roles & 50–950 ramp

primary
#BBB28A
secondary
#C8CBD9
accent
#53A540
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBB28A

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

Preview Lab → · Contrast checker → · Palette generator →

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