#BBB398#BBB398

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

Color values

HEX#BBB398
RGBrgb(187, 179, 152)
HSLhsl(46, 20%, 66%)
HSVhsv(46, 19%, 73%)
CMYKcmyk(0%, 4.3%, 18.7%, 26.7%)
CIE-LABlab(72.94, -1.68, 14.83)
CIE-LCHlch(72.94, 14.92, 96.45°)
OKLaboklab(76.62% -0.0023 0.0382)
OKLCHoklch(76.62% 0.038 93.4)
XYZxyz(42.2809, 45.0727, 36.1722)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB398 #98A0BB
analogous
#BBA298 #BBB398 #B2BB98
triadic
#BBB398 #98BBB3 #B398BB
tetradic
#BBB398 #98BBA2 #98A0BB #BB98B2
square
#BBB398 #98BBA2 #98A0BB #BB98B2
split-complementary
#BBB398 #98B2BB #A298BB
monochromatic
#827856 #A39873 #BBB398 #D3CEBD #ECE9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB398#FFFFFF#000000##000000
##BBB3981.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)
#B9B296
Deuteranopia (green-blind)
#BBB499
Tritanopia (blue-blind)
#C1AFAB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb398;
/* rgb */ color: rgb(187, 179, 152);
/* oklch */ color: oklch(76.6% 0.038 93.4);
Tailwind
colors: {
  custom: {
    50: '#cfc9b6',
    500: '#bbb398',
    950: '#000000',
  },
}
SCSS
$custom: #bbb398;
$custom-light: #cfc9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb398",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 152
  },
  "hsl": {
    "h": 46.286,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.76616,
    "c": 0.03825,
    "h": 93.4
  },
  "luminance": 0.45072
}

Semantic roles & 50–950 ramp

primary
#BBB398
secondary
#D2D4DD
accent
#5B9F47
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#141311
muted
#828280

Preview Lab

Preview with #BBB398

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

Preview Lab → · Contrast checker → · Palette generator →

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