#BBAB6D#BBAB6D

#BBAB6D is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.083 H 95.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BBAB6D
RGBrgb(187, 171, 109)
HSLhsl(48, 36%, 58%)
HSVhsv(48, 42%, 73%)
CMYKcmyk(0%, 8.6%, 41.7%, 26.7%)
CIE-LABlab(70.03, -3.08, 33.99)
CIE-LCHlch(70.03, 34.13, 95.18°)
OKLaboklab(74.06% -0.0078 0.083)
OKLCHoklch(74.06% 0.083 95.4)
XYZxyz(37.8176, 40.7960, 20.3474)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB6D #6D7DBB
analogous
#BB846D #BBAB6D #A4BB6D
triadic
#BBAB6D #6DBBAB #AB6DBB
tetradic
#BBAB6D #6DBB84 #6D7DBB #BB6DA4
square
#BBAB6D #6DBB84 #6D7DBB #BB6DA4
split-complementary
#BBAB6D #6DA4BB #846DBB
monochromatic
#766937 #A08F4B #BBAB6D #CEC397 #E2DBC1

Accessibility & contrast

On white

2.29
#BBAB6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#BBAB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB6D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB6D#FFFFFF#000000##000000
##BBAB6D1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A868
Deuteranopia (green-blind)
#BBAD6F
Tritanopia (blue-blind)
#C6A29C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbab6d;
/* rgb */ color: rgb(187, 171, 109);
/* oklch */ color: oklch(74.1% 0.083 95.4);
Tailwind
colors: {
  custom: {
    50: '#d1c397',
    500: '#bbab6d',
    950: '#000000',
  },
}
SCSS
$custom: #bbab6d;
$custom-light: #d1c397;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab6d",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 109
  },
  "hsl": {
    "h": 47.692,
    "s": 36.449,
    "l": 58.039
  },
  "oklch": {
    "l": 0.74063,
    "c": 0.0834,
    "h": 95.4
  },
  "luminance": 0.40795
}

Semantic roles & 50–950 ramp

primary
#BBAB6D
secondary
#B2B9D1
accent
#73CC5B
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14120D
muted
#83817E

Preview Lab

Preview with #BBAB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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