#BBAB48#BBAB48

#BBAB48 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.121 H 100.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BBAB48
RGBrgb(187, 171, 72)
HSLhsl(52, 46%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8.6%, 61.5%, 26.7%)
CIE-LABlab(69.58, -6.37, 51.74)
CIE-LCHlch(69.58, 52.13, 97.02°)
OKLaboklab(73.56% -0.0213 0.1187)
OKLCHoklch(73.56% 0.121 100.2)
XYZxyz(36.2276, 40.1600, 11.9730)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB48 #4858BB
analogous
#BB7148 #BBAB48 #91BB48
triadic
#BBAB48 #48BBAB #AB48BB
tetradic
#BBAB48 #48BB71 #4858BB #BB4891
square
#BBAB48 #48BB71 #4858BB #BB4891
split-complementary
#BBAB48 #4891BB #7148BB
monochromatic
#645B25 #908436 #BBAB48 #CCBF75 #DCD4A1

Accessibility & contrast

On white

2.33
#BBAB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BBAB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB48
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB48#FFFFFF#000000##000000
##BBAB481.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63D
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#C9A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab48;
/* rgb */ color: rgb(187, 171, 72);
/* oklch */ color: oklch(73.6% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d2c37f',
    500: '#bbab48',
    950: '#000000',
  },
}
SCSS
$custom: #bbab48;
$custom-light: #d2c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab48",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 51.652,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.12057,
    "h": 100.2
  },
  "luminance": 0.40158
}

Semantic roles & 50–950 ramp

primary
#BBAB48
secondary
#969DC9
accent
#65D552
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB48

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

Preview Lab → · Contrast checker → · Palette generator →

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