#BBB171#BBB171

#BBB171 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.085 H 100.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#BBB171
RGBrgb(187, 177, 113)
HSLhsl(52, 35%, 59%)
HSVhsv(52, 40%, 73%)
CMYKcmyk(0%, 5.3%, 39.6%, 26.7%)
CIE-LABlab(71.69, -5.81, 34.02)
CIE-LCHlch(71.69, 34.52, 99.70°)
OKLaboklab(75.4% -0.0154 0.0833)
OKLCHoklch(75.4% 0.085 100.5)
XYZxyz(39.1970, 43.2024, 21.8937)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB171 #717BBB
analogous
#BB8C71 #BBB171 #A0BB71
triadic
#BBB171 #71BBB1 #B171BB
tetradic
#BBB171 #71BB8C #717BBB #BB71A0
square
#BBB171 #71BB8C #717BBB #BB71A0
split-complementary
#BBB171 #71A0BB #8C71BB
monochromatic
#78703A #A1964D #BBB171 #CFC89A #E3DEC4

Accessibility & contrast

On white

2.18
#BBB171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#BBB171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB171
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB171#FFFFFF#000000##000000
##BBB1711.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAD6C
Deuteranopia (green-blind)
#BFB273
Tritanopia (blue-blind)
#C5A9A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb171;
/* rgb */ color: rgb(187, 177, 113);
/* oklch */ color: oklch(75.4% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#d0c89a',
    500: '#bbb171',
    950: '#000000',
  },
}
SCSS
$custom: #bbb171;
$custom-light: #d0c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb171",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 51.892,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.75395,
    "c": 0.08472,
    "h": 100.5
  },
  "luminance": 0.43201
}

Semantic roles & 50–950 ramp

primary
#BBB171
secondary
#B5B9D2
accent
#6BCB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BBB171

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

Preview Lab → · Contrast checker → · Palette generator →

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