#BBAB4C#BBAB4C

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

Color values

HEX#BBAB4C
RGBrgb(187, 171, 76)
HSLhsl(51, 45%, 52%)
HSVhsv(51, 59%, 73%)
CMYKcmyk(0%, 8.6%, 59.4%, 26.7%)
CIE-LABlab(69.62, -6.09, 49.95)
CIE-LCHlch(69.62, 50.32, 96.95°)
OKLaboklab(73.6% -0.02 0.1154)
OKLCHoklch(73.6% 0.117 99.8)
XYZxyz(36.3623, 40.2139, 12.6828)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4C #4C5CBB
analogous
#BB744C #BBAB4C #94BB4C
triadic
#BBAB4C #4CBBAB #AB4CBB
tetradic
#BBAB4C #4CBB74 #4C5CBB #BB4C94
square
#BBAB4C #4CBB74 #4C5CBB #BB4C94
split-complementary
#BBAB4C #4C94BB #744CBB
monochromatic
#665D27 #928538 #BBAB4C #CCC078 #DDD5A5

Accessibility & contrast

On white

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

On black

9.04
#BBAB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB4C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB4C#FFFFFF#000000##000000
##BBAB4C1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbab4c;
/* rgb */ color: rgb(187, 171, 76);
/* oklch */ color: oklch(73.6% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#d2c381',
    500: '#bbab4c',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4c;
$custom-light: #d2c381;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4c",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 51.351,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73604,
    "c": 0.11711,
    "h": 99.8
  },
  "luminance": 0.40212
}

Semantic roles & 50–950 ramp

primary
#BBAB4C
secondary
#99A0CA
accent
#66D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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