#BBAC48#BBAC48

#BBAC48 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.121 H 100.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BBAC48
RGBrgb(187, 172, 72)
HSLhsl(52, 46%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8%, 61.5%, 26.7%)
CIE-LABlab(69.85, -6.90, 52.03)
CIE-LCHlch(69.85, 52.49, 97.55°)
OKLaboklab(73.77% -0.0228 0.1193)
OKLCHoklch(73.77% 0.121 100.8)
XYZxyz(36.4172, 40.5392, 12.0362)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC48 #4857BB
analogous
#BB7248 #BBAC48 #90BB48
triadic
#BBAC48 #48BBAC #AC48BB
tetradic
#BBAC48 #48BB72 #4857BB #BB4890
square
#BBAC48 #48BB72 #4857BB #BB4890
split-complementary
#BBAC48 #4890BB #7248BB
monochromatic
#645B25 #908436 #BBAC48 #CCC075 #DCD4A1

Accessibility & contrast

On white

2.31
#BBAC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BBAC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC48
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC48#FFFFFF#000000##000000
##BBAC481.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#C8A197
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbac48;
/* rgb */ color: rgb(187, 172, 72);
/* oklch */ color: oklch(73.8% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#d2c47f',
    500: '#bbac48',
    950: '#000000',
  },
}
SCSS
$custom: #bbac48;
$custom-light: #d2c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac48",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 52.174,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73774,
    "c": 0.12146,
    "h": 100.8
  },
  "luminance": 0.40538
}

Semantic roles & 50–950 ramp

primary
#BBAC48
secondary
#969DC9
accent
#63D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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