#BBB797#BBB797

#BBB797 is a light, muted yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.044 H 101.5°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#BBB797
RGBrgb(187, 183, 151)
HSLhsl(53, 21%, 66%)
HSVhsv(53, 19%, 73%)
CMYKcmyk(0%, 2.1%, 19.3%, 26.7%)
CIE-LABlab(73.98, -3.95, 16.82)
CIE-LCHlch(73.98, 17.28, 103.23°)
OKLaboklab(77.43% -0.0087 0.0431)
OKLCHoklch(77.43% 0.044 101.5)
XYZxyz(43.0127, 46.6667, 36.0138)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB797 #979BBB
analogous
#BBA597 #BBB797 #ADBB97
triadic
#BBB797 #97BBB7 #B797BB
tetradic
#BBB797 #97BBA5 #979BBB #BB97AD
square
#BBB797 #97BBA5 #979BBB #BB97AD
split-complementary
#BBB797 #97ADBB #A597BB
monochromatic
#827D55 #A39D72 #BBB797 #D3D1BC #EBEAE1

Accessibility & contrast

On white

2.03
#BBB797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#BBB797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB797
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB797#FFFFFF#000000##000000
##BBB7971.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB595
Deuteranopia (green-blind)
#BFB798
Tritanopia (blue-blind)
#C1B2AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbb797;
/* rgb */ color: rgb(187, 183, 151);
/* oklch */ color: oklch(77.4% 0.044 101.5);
Tailwind
colors: {
  custom: {
    50: '#cfccb5',
    500: '#bbb797',
    950: '#000000',
  },
}
SCSS
$custom: #bbb797;
$custom-light: #cfccb5;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb797",
  "rgb": {
    "r": 187,
    "g": 183,
    "b": 151
  },
  "hsl": {
    "h": 53.333,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.77426,
    "c": 0.044,
    "h": 101.5
  },
  "luminance": 0.46666
}

Semantic roles & 50–950 ramp

primary
#BBB797
secondary
#D1D2DD
accent
#509F46
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#141311
muted
#828280

Preview Lab

Preview with #BBB797

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

Preview Lab → · Contrast checker → · Palette generator →

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