#BBB96F#BBB96F

#BBB96F is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.1% C 0.096 H 107.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BBB96F
RGBrgb(187, 185, 111)
HSLhsl(58, 36%, 58%)
HSVhsv(58, 41%, 73%)
CMYKcmyk(0%, 1.1%, 40.6%, 26.7%)
CIE-LABlab(73.81, -10.21, 37.76)
CIE-LCHlch(73.81, 39.11, 105.14°)
OKLaboklab(77.07% -0.0282 0.0917)
OKLCHoklch(77.07% 0.096 107.1)
XYZxyz(40.7124, 46.4113, 21.8495)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB96F #6F71BB
analogous
#BB936F #BBB96F #97BB6F
triadic
#BBB96F #6FBBB9 #B96FBB
tetradic
#BBB96F #6FBB93 #6F71BB #BB6F97
square
#BBB96F #6FBB93 #6F71BB #BB6F97
split-complementary
#BBB96F #6F97BB #936FBB
monochromatic
#777638 #A19F4C #BBB96F #CFCD99 #E2E1C2

Accessibility & contrast

On white

2.04
#BBB96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BBB96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB96F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB96F#FFFFFF#000000##000000
##BBB96F1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B469
Deuteranopia (green-blind)
#C6B772
Tritanopia (blue-blind)
#C5B0A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbb96f;
/* rgb */ color: rgb(187, 185, 111);
/* oklch */ color: oklch(77.1% 0.096 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1cd99',
    500: '#bbb96f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb96f;
$custom-light: #d1cd99;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb96f",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 111
  },
  "hsl": {
    "h": 58.421,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77067,
    "c": 0.09595,
    "h": 107.1
  },
  "luminance": 0.4641
}

Semantic roles & 50–950 ramp

primary
#BBB96F
secondary
#B4B5D2
accent
#5FCC5C
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BBB96F

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

Preview Lab → · Contrast checker → · Palette generator →

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