#BBAB4D#BBAB4D

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

Color values

HEX#BBAB4D
RGBrgb(187, 171, 77)
HSLhsl(51, 45%, 52%)
HSVhsv(51, 59%, 73%)
CMYKcmyk(0%, 8.6%, 58.8%, 26.7%)
CIE-LABlab(69.63, -6.01, 49.49)
CIE-LCHlch(69.63, 49.86, 96.93°)
OKLaboklab(73.61% -0.0197 0.1145)
OKLCHoklch(73.61% 0.116 99.7)
XYZxyz(36.3973, 40.2279, 12.8673)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4D #4D5DBB
analogous
#BB744D #BBAB4D #94BB4D
triadic
#BBAB4D #4DBBAB #AB4DBB
tetradic
#BBAB4D #4DBB74 #4D5DBB #BB4D94
square
#BBAB4D #4DBB74 #4D5DBB #BB4D94
split-complementary
#BBAB4D #4D94BB #744DBB
monochromatic
#665D27 #938638 #BBAB4D #CCC079 #DDD5A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB4D#FFFFFF#000000##000000
##BBAB4D1.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)
#BAA743
Deuteranopia (green-blind)
#BEAD52
Tritanopia (blue-blind)
#C8A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab4d;
/* rgb */ color: rgb(187, 171, 77);
/* oklch */ color: oklch(73.6% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#d2c382',
    500: '#bbab4d',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4d;
$custom-light: #d2c382;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4d",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 77
  },
  "hsl": {
    "h": 51.273,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73615,
    "c": 0.11622,
    "h": 99.7
  },
  "luminance": 0.40226
}

Semantic roles & 50–950 ramp

primary
#BBAB4D
secondary
#9AA1CA
accent
#66D453
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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