#BBAB78#BBAB78

#BBAB78 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.071 H 92.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#BBAB78
RGBrgb(187, 171, 120)
HSLhsl(46, 33%, 60%)
HSVhsv(46, 36%, 73%)
CMYKcmyk(0%, 8.6%, 35.8%, 26.7%)
CIE-LABlab(70.21, -1.81, 28.39)
CIE-LCHlch(70.21, 28.45, 93.65°)
OKLaboklab(74.26% -0.0033 0.0705)
OKLCHoklch(74.26% 0.071 92.7)
XYZxyz(38.4472, 41.0479, 23.6634)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB78 #7888BB
analogous
#BB8A78 #BBAB78 #A9BB78
triadic
#BBAB78 #78BBAB #AB78BB
tetradic
#BBAB78 #78BB8A #7888BB #BB78A9
square
#BBAB78 #78BB8A #7888BB #BB78A9
split-complementary
#BBAB78 #78A9BB #8A78BB
monochromatic
#7B6C3E #A39052 #BBAB78 #D0C4A1 #E4DEC9

Accessibility & contrast

On white

2.28
#BBAB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#BBAB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB78
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB78#FFFFFF#000000##000000
##BBAB781.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A974
Deuteranopia (green-blind)
#BAAE7A
Tritanopia (blue-blind)
#C5A39E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbab78;
/* rgb */ color: rgb(187, 171, 120);
/* oklch */ color: oklch(74.3% 0.071 92.7);
Tailwind
colors: {
  custom: {
    50: '#d0c39f',
    500: '#bbab78',
    950: '#000000',
  },
}
SCSS
$custom: #bbab78;
$custom-light: #d0c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab78",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 45.672,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7426,
    "c": 0.07061,
    "h": 92.7
  },
  "luminance": 0.41047
}

Semantic roles & 50–950 ramp

primary
#BBAB78
secondary
#BBC1D4
accent
#55AC3A
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #BBAB78

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

Preview Lab → · Contrast checker → · Palette generator →

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