#BB9520#BB9520

#BB9520 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.6% C 0.132 H 89.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BB9520
RGBrgb(187, 149, 32)
HSLhsl(45, 71%, 43%)
HSVhsv(45, 83%, 73%)
CMYKcmyk(0%, 20.3%, 82.9%, 26.7%)
CIE-LABlab(63.48, 3.44, 61.29)
CIE-LCHlch(63.48, 61.38, 86.79°)
OKLaboklab(68.65% 0.0024 0.1316)
OKLCHoklch(68.65% 0.132 89)
XYZxyz(31.5037, 32.1661, 5.9156)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9520 #2046BB
analogous
#BB4720 #BB9520 #94BB20
triadic
#BB9520 #20BB95 #9520BB
tetradic
#BB9520 #20BB47 #2046BB #BB2094
square
#BB9520 #20BB47 #2046BB #BB2094
split-complementary
#BB9520 #2094BB #4720BB
monochromatic
#52420E #876B17 #BB9520 #DDB63B #E6C96F

Accessibility & contrast

On white

2.83
#BB9520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BB9520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9520
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9520#FFFFFF#000000##000000
##BB95201.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#B19E28
Tritanopia (blue-blind)
#CB8780
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb9520;
/* rgb */ color: rgb(187, 149, 32);
/* oklch */ color: oklch(68.6% 0.132 89.0);
Tailwind
colors: {
  custom: {
    50: '#d4b367',
    500: '#bb9520',
    950: '#000000',
  },
}
SCSS
$custom: #bb9520;
$custom-light: #d4b367;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9520",
  "rgb": {
    "r": 187,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 45.29,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.13161,
    "h": 89
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

primary
#BB9520
secondary
#6A82CD
accent
#66EE3A
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9520

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

Preview Lab → · Contrast checker → · Palette generator →

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