#BBAB36#BBAB36

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

Color values

HEX#BBAB36
RGBrgb(187, 171, 54)
HSLhsl(53, 55%, 47%)
HSVhsv(53, 71%, 73%)
CMYKcmyk(0%, 8.6%, 71.1%, 26.7%)
CIE-LABlab(69.44, -7.44, 59.17)
CIE-LCHlch(69.44, 59.63, 97.17°)
OKLaboklab(73.4% -0.0264 0.1315)
OKLCHoklch(73.4% 0.134 101.3)
XYZxyz(35.7239, 39.9585, 9.3204)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB36 #3646BB
analogous
#BB6936 #BBAB36 #89BB36
triadic
#BBAB36 #36BBAB #AB36BB
tetradic
#BBAB36 #36BB69 #3646BB #BB3689
square
#BBAB36 #36BB69 #3646BB #BB3689
split-complementary
#BBAB36 #3689BB #6936BB
monochromatic
#5C541B #8C8028 #BBAB36 #D0C35E #DED48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB36#FFFFFF#000000##000000
##BBAB361.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)
#BBA624
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab36;
/* rgb */ color: rgb(187, 171, 54);
/* oklch */ color: oklch(73.4% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#d3c375',
    500: '#bbab36',
    950: '#000000',
  },
}
SCSS
$custom: #bbab36;
$custom-light: #d3c375;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab36",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 52.782,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73402,
    "c": 0.13412,
    "h": 101.3
  },
  "luminance": 0.39957
}

Semantic roles & 50–950 ramp

primary
#BBAB36
secondary
#848CC9
accent
#5BDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB36

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

Preview Lab → · Contrast checker → · Palette generator →

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