#BBB97C#BBB97C

#BBB97C is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.3% C 0.081 H 106.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBB97C
RGBrgb(187, 185, 124)
HSLhsl(58, 32%, 61%)
HSVhsv(58, 34%, 73%)
CMYKcmyk(0%, 1.1%, 33.7%, 26.7%)
CIE-LABlab(74.01, -8.71, 31.27)
CIE-LCHlch(74.01, 32.46, 105.56°)
OKLaboklab(77.29% -0.023 0.0774)
OKLCHoklch(77.29% 0.081 106.5)
XYZxyz(41.4810, 46.7188, 25.8973)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB97C #7C7EBB
analogous
#BB997C #BBB97C #9DBB7C
triadic
#BBB97C #7CBBB9 #B97CBB
tetradic
#BBB97C #7CBB99 #7C7EBB #BB7C9D
square
#BBB97C #7CBB99 #7C7EBB #BB7C9D
split-complementary
#BBB97C #7C9DBB #997CBB
monochromatic
#7C7A40 #A4A255 #BBB97C #D0CFA4 #E5E4CD

Accessibility & contrast

On white

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

On black

10.34
#BBB97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB97C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB97C#FFFFFF#000000##000000
##BBB97C1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B478
Deuteranopia (green-blind)
#C4B77E
Tritanopia (blue-blind)
#C4B1A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbb97c;
/* rgb */ color: rgb(187, 185, 124);
/* oklch */ color: oklch(77.3% 0.081 106.5);
Tailwind
colors: {
  custom: {
    50: '#d0cda2',
    500: '#bbb97c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb97c;
$custom-light: #d0cda2;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb97c",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 124
  },
  "hsl": {
    "h": 58.095,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77288,
    "c": 0.08073,
    "h": 106.5
  },
  "luminance": 0.46718
}

Semantic roles & 50–950 ramp

primary
#BBB97C
secondary
#BEBED5
accent
#3FAA3B
background
#FCFCFA
surface
#F9F9F3
border
#D2D2CD
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB97C

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

Preview Lab → · Contrast checker → · Palette generator →

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