#BBAB4E#BBAB4E

#BBAB4E is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.115 H 99.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BBAB4E
RGBrgb(187, 171, 78)
HSLhsl(51, 44%, 52%)
HSVhsv(51, 58%, 73%)
CMYKcmyk(0%, 8.6%, 58.3%, 26.7%)
CIE-LABlab(69.64, -5.94, 49.04)
CIE-LCHlch(69.64, 49.40, 96.90°)
OKLaboklab(73.63% -0.0193 0.1137)
OKLCHoklch(73.63% 0.115 99.7)
XYZxyz(36.4329, 40.2422, 13.0547)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4E #4E5EBB
analogous
#BB754E #BBAB4E #94BB4E
triadic
#BBAB4E #4EBBAB #AB4EBB
tetradic
#BBAB4E #4EBB75 #4E5EBB #BB4E94
square
#BBAB4E #4EBB75 #4E5EBB #BB4E94
split-complementary
#BBAB4E #4E94BB #754EBB
monochromatic
#675E28 #938639 #BBAB4E #CCC07A #DDD5A6

Accessibility & contrast

On white

2.32
#BBAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BBAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB4E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB4E#FFFFFF#000000##000000
##BBAB4E1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#BEAD52
Tritanopia (blue-blind)
#C8A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab4e;
/* rgb */ color: rgb(187, 171, 78);
/* oklch */ color: oklch(73.6% 0.115 99.7);
Tailwind
colors: {
  custom: {
    50: '#d2c383',
    500: '#bbab4e',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4e;
$custom-light: #d2c383;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4e",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 51.193,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.11532,
    "h": 99.7
  },
  "luminance": 0.40241
}

Semantic roles & 50–950 ramp

primary
#BBAB4E
secondary
#9BA2CA
accent
#66D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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