#BBAB71#BBAB71

#BBAB71 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.079 H 94.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BBAB71
RGBrgb(187, 171, 113)
HSLhsl(47, 35%, 59%)
HSVhsv(47, 40%, 73%)
CMYKcmyk(0%, 8.6%, 39.6%, 26.7%)
CIE-LABlab(70.09, -2.63, 31.96)
CIE-LCHlch(70.09, 32.07, 94.71°)
OKLaboklab(74.13% -0.0062 0.0786)
OKLCHoklch(74.13% 0.079 94.5)
XYZxyz(38.0379, 40.8841, 21.5073)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB71 #7181BB
analogous
#BB8671 #BBAB71 #A6BB71
triadic
#BBAB71 #71BBAB #AB71BB
tetradic
#BBAB71 #71BB86 #7181BB #BB71A6
square
#BBAB71 #71BB86 #7181BB #BB71A6
split-complementary
#BBAB71 #71A6BB #8671BB
monochromatic
#786B3A #A18F4D #BBAB71 #CFC39A #E3DCC4

Accessibility & contrast

On white

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

On black

9.18
#BBAB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB71
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB71#FFFFFF#000000##000000
##BBAB711.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86D
Deuteranopia (green-blind)
#BBAE73
Tritanopia (blue-blind)
#C6A39C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbab71;
/* rgb */ color: rgb(187, 171, 113);
/* oklch */ color: oklch(74.1% 0.079 94.5);
Tailwind
colors: {
  custom: {
    50: '#d0c39a',
    500: '#bbab71',
    950: '#000000',
  },
}
SCSS
$custom: #bbab71;
$custom-light: #d0c39a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab71",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 113
  },
  "hsl": {
    "h": 47.027,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.74132,
    "c": 0.07882,
    "h": 94.5
  },
  "luminance": 0.40883
}

Semantic roles & 50–950 ramp

primary
#BBAB71
secondary
#B5BCD2
accent
#74CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #BBAB71

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

Preview Lab → · Contrast checker → · Palette generator →

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