#BBAB37#BBAB37

#BBAB37 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.133 H 101.3°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#BBAB37
RGBrgb(187, 171, 55)
HSLhsl(53, 55%, 47%)
HSVhsv(53, 71%, 73%)
CMYKcmyk(0%, 8.6%, 70.6%, 26.7%)
CIE-LABlab(69.45, -7.39, 58.79)
CIE-LCHlch(69.45, 59.25, 97.16°)
OKLaboklab(73.41% -0.0261 0.1309)
OKLCHoklch(73.41% 0.133 101.3)
XYZxyz(35.7476, 39.9680, 9.4453)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB37 #3747BB
analogous
#BB6937 #BBAB37 #89BB37
triadic
#BBAB37 #37BBAB #AB37BB
tetradic
#BBAB37 #37BB69 #3747BB #BB3789
square
#BBAB37 #37BB69 #3747BB #BB3789
split-complementary
#BBAB37 #3789BB #6937BB
monochromatic
#5C551B #8C8029 #BBAB37 #D0C25F #DED48E

Accessibility & contrast

On white

2.34
#BBAB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#BBAB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB37
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB37#FFFFFF#000000##000000
##BBAB371.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#C0AC3E
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab37;
/* rgb */ color: rgb(187, 171, 55);
/* oklch */ color: oklch(73.4% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#d3c375',
    500: '#bbab37',
    950: '#000000',
  },
}
SCSS
$custom: #bbab37;
$custom-light: #d3c375;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab37",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 52.727,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.13346,
    "h": 101.3
  },
  "luminance": 0.39966
}

Semantic roles & 50–950 ramp

primary
#BBAB37
secondary
#858DC9
accent
#5CDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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