#BBAB49#BBAB49

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

Color values

HEX#BBAB49
RGBrgb(187, 171, 73)
HSLhsl(52, 46%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8.6%, 61%, 26.7%)
CIE-LABlab(69.59, -6.30, 51.30)
CIE-LCHlch(69.59, 51.68, 97.00°)
OKLaboklab(73.57% -0.021 0.1179)
OKLCHoklch(73.57% 0.12 100.1)
XYZxyz(36.2604, 40.1732, 12.1462)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB49 #4959BB
analogous
#BB7249 #BBAB49 #92BB49
triadic
#BBAB49 #49BBAB #AB49BB
tetradic
#BBAB49 #49BB72 #4959BB #BB4992
square
#BBAB49 #49BB72 #4959BB #BB4992
split-complementary
#BBAB49 #4992BB #7249BB
monochromatic
#645B25 #918436 #BBAB49 #CCC076 #DCD4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB49#FFFFFF#000000##000000
##BBAB491.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbab49;
/* rgb */ color: rgb(187, 171, 73);
/* oklch */ color: oklch(73.6% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#d2c380',
    500: '#bbab49',
    950: '#000000',
  },
}
SCSS
$custom: #bbab49;
$custom-light: #d2c380;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab49",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 51.579,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73572,
    "c": 0.11972,
    "h": 100.1
  },
  "luminance": 0.40172
}

Semantic roles & 50–950 ramp

primary
#BBAB49
secondary
#979EC9
accent
#65D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB49

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

Preview Lab → · Contrast checker → · Palette generator →

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