#BBB397#BBB397

#BBB397 is a light, muted yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.040 H 93.9°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BBB397
RGBrgb(187, 179, 151)
HSLhsl(47, 21%, 66%)
HSVhsv(47, 19%, 73%)
CMYKcmyk(0%, 4.3%, 19.3%, 26.7%)
CIE-LABlab(72.92, -1.83, 15.34)
CIE-LCHlch(72.92, 15.45, 96.80°)
OKLaboklab(76.59% -0.0027 0.0395)
OKLCHoklch(76.59% 0.04 93.9)
XYZxyz(42.1993, 45.0401, 35.7427)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB397 #979FBB
analogous
#BBA197 #BBB397 #B1BB97
triadic
#BBB397 #97BBB3 #B397BB
tetradic
#BBB397 #97BBA1 #979FBB #BB97B1
square
#BBB397 #97BBA1 #979FBB #BB97B1
split-complementary
#BBB397 #97B1BB #A197BB
monochromatic
#827855 #A39872 #BBB397 #D3CEBC #EBE9E1

Accessibility & contrast

On white

2.10
#BBB397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BBB397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB397
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB397#FFFFFF#000000##000000
##BBB3971.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9B195
Deuteranopia (green-blind)
#BCB498
Tritanopia (blue-blind)
#C1AFAB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb397;
/* rgb */ color: rgb(187, 179, 151);
/* oklch */ color: oklch(76.6% 0.040 93.9);
Tailwind
colors: {
  custom: {
    50: '#cfc9b5',
    500: '#bbb397',
    950: '#000000',
  },
}
SCSS
$custom: #bbb397;
$custom-light: #cfc9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb397",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 151
  },
  "hsl": {
    "h": 46.667,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.76592,
    "c": 0.03955,
    "h": 93.9
  },
  "luminance": 0.45039
}

Semantic roles & 50–950 ramp

primary
#BBB397
secondary
#D1D4DD
accent
#5A9F46
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#141311
muted
#828280

Preview Lab

Preview with #BBB397

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

Preview Lab → · Contrast checker → · Palette generator →

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