#BBAB79#BBAB79

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

Color values

HEX#BBAB79
RGBrgb(187, 171, 121)
HSLhsl(45, 33%, 60%)
HSVhsv(45, 35%, 73%)
CMYKcmyk(0%, 8.6%, 35.3%, 26.7%)
CIE-LABlab(70.23, -1.69, 27.88)
CIE-LCHlch(70.23, 27.93, 93.47°)
OKLaboklab(74.28% -0.0029 0.0694)
OKLCHoklch(74.28% 0.069 92.4)
XYZxyz(38.5083, 41.0723, 23.9847)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB79 #7989BB
analogous
#BB8A79 #BBAB79 #AABB79
triadic
#BBAB79 #79BBAB #AB79BB
tetradic
#BBAB79 #79BB8A #7989BB #BB79AA
square
#BBAB79 #79BB8A #7989BB #BB79AA
split-complementary
#BBAB79 #79AABB #8A79BB
monochromatic
#7B6C3E #A49053 #BBAB79 #D0C4A2 #E4DECA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB79#FFFFFF#000000##000000
##BBAB791.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)
#B6A976
Deuteranopia (green-blind)
#BAAE7B
Tritanopia (blue-blind)
#C5A39E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbab79;
/* rgb */ color: rgb(187, 171, 121);
/* oklch */ color: oklch(74.3% 0.069 92.4);
Tailwind
colors: {
  custom: {
    50: '#d0c3a0',
    500: '#bbab79',
    950: '#000000',
  },
}
SCSS
$custom: #bbab79;
$custom-light: #d0c3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab79",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 121
  },
  "hsl": {
    "h": 45.455,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.06942,
    "h": 92.4
  },
  "luminance": 0.41071
}

Semantic roles & 50–950 ramp

primary
#BBAB79
secondary
#BBC1D5
accent
#56AB3A
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #BBAB79

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

Preview Lab → · Contrast checker → · Palette generator →

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