#BBB28E#BBB28E

#BBB28E is a light, muted yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.050 H 95.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BBB28E
RGBrgb(187, 178, 142)
HSLhsl(48, 25%, 65%)
HSVhsv(48, 24%, 73%)
CMYKcmyk(0%, 4.8%, 24.1%, 26.7%)
CIE-LABlab(72.47, -2.63, 19.60)
CIE-LCHlch(72.47, 19.77, 97.64°)
OKLaboklab(76.18% -0.0049 0.0499)
OKLCHoklch(76.18% 0.05 95.7)
XYZxyz(41.2964, 44.3594, 31.9727)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB28E #8E97BB
analogous
#BB9C8E #BBB28E #AEBB8E
triadic
#BBB28E #8EBBB2 #B28EBB
tetradic
#BBB28E #8EBB9C #8E97BB #BB8EAE
square
#BBB28E #8EBB9C #8E97BB #BB8EAE
split-complementary
#BBB28E #8EAEBB #9C8EBB
monochromatic
#81774E #A49868 #BBB28E #D2CCB4 #E9E6DA

Accessibility & contrast

On white

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

On black

9.87
#BBB28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB28E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB28E#FFFFFF#000000##000000
##BBB28E1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAB08C
Deuteranopia (green-blind)
#BCB38F
Tritanopia (blue-blind)
#C2ADA8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb28e;
/* rgb */ color: rgb(187, 178, 142);
/* oklch */ color: oklch(76.2% 0.050 95.7);
Tailwind
colors: {
  custom: {
    50: '#d0c9af',
    500: '#bbb28e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb28e;
$custom-light: #d0c9af;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb28e",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 142
  },
  "hsl": {
    "h": 48,
    "s": 24.862,
    "l": 64.51
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.05014,
    "h": 95.7
  },
  "luminance": 0.44359
}

Semantic roles & 50–950 ramp

primary
#BBB28E
secondary
#CBCEDA
accent
#56A342
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBB28E

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

Preview Lab → · Contrast checker → · Palette generator →

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