#BB9D31#BB9D31

#BB9D31 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.127 H 92.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BB9D31
RGBrgb(187, 157, 49)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 16%, 73.8%, 26.7%)
CIE-LABlab(65.67, -0.24, 57.40)
CIE-LCHlch(65.67, 57.41, 90.24°)
OKLaboklab(70.41% -0.0064 0.1268)
OKLCHoklch(70.41% 0.127 92.9)
XYZxyz(33.1067, 34.9024, 7.8982)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D31 #314FBB
analogous
#BB5831 #BB9D31 #94BB31
triadic
#BB9D31 #31BB9D #9D31BB
tetradic
#BB9D31 #31BB58 #314FBB #BB3194
square
#BB9D31 #31BB58 #314FBB #BB3194
split-complementary
#BB9D31 #3194BB #5831BB
monochromatic
#5A4C18 #8B7424 #BB9D31 #D3B856 #E0CC87

Accessibility & contrast

On white

2.63
#BB9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BB9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D31
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D31#FFFFFF#000000##000000
##BB9D311.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#CA9088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9d31;
/* rgb */ color: rgb(187, 157, 49);
/* oklch */ color: oklch(70.4% 0.127 92.9);
Tailwind
colors: {
  custom: {
    50: '#d3b970',
    500: '#bb9d31',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d31;
$custom-light: #d3b970;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d31",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 46.957,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.12699,
    "h": 92.9
  },
  "luminance": 0.349
}

Semantic roles & 50–950 ramp

primary
#BB9D31
secondary
#7F8FC9
accent
#68E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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