#BBAB47#BBAB47

#BBAB47 is a light, vivid yellow. Relative luminance 0.401; 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#BBAB47
RGBrgb(187, 171, 71)
HSLhsl(52, 46%, 51%)
HSVhsv(52, 62%, 73%)
CMYKcmyk(0%, 8.6%, 62%, 26.7%)
CIE-LABlab(69.57, -6.44, 52.18)
CIE-LCHlch(69.57, 52.58, 97.03°)
OKLaboklab(73.55% -0.0216 0.1195)
OKLCHoklch(73.55% 0.121 100.2)
XYZxyz(36.1952, 40.1471, 11.8026)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB47 #4757BB
analogous
#BB7147 #BBAB47 #91BB47
triadic
#BBAB47 #47BBAB #AB47BB
tetradic
#BBAB47 #47BB71 #4757BB #BB4791
square
#BBAB47 #47BB71 #4757BB #BB4791
split-complementary
#BBAB47 #4791BB #7147BB
monochromatic
#635A25 #908335 #BBAB47 #CCBF74 #DCD4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB47#FFFFFF#000000##000000
##BBAB471.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)
#BAA63C
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#C9A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab47;
/* rgb */ color: rgb(187, 171, 71);
/* oklch */ color: oklch(73.6% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#bbab47',
    950: '#000000',
  },
}
SCSS
$custom: #bbab47;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab47",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 51.724,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73551,
    "c": 0.12141,
    "h": 100.2
  },
  "luminance": 0.40146
}

Semantic roles & 50–950 ramp

primary
#BBAB47
secondary
#959CC9
accent
#64D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB47

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

Preview Lab → · Contrast checker → · Palette generator →

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