#BB9E38#BB9E38

#BB9E38 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.7% C 0.123 H 92.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#BB9E38
RGBrgb(187, 158, 56)
HSLhsl(47, 54%, 48%)
HSVhsv(47, 70%, 73%)
CMYKcmyk(0%, 15.5%, 70.1%, 26.7%)
CIE-LABlab(65.99, -0.43, 54.90)
CIE-LCHlch(65.99, 54.91, 90.44°)
OKLaboklab(70.67% -0.0062 0.1228)
OKLCHoklch(70.67% 0.123 92.9)
XYZxyz(33.4359, 35.3059, 8.7942)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E38 #3855BB
analogous
#BB5D38 #BB9E38 #96BB38
triadic
#BB9E38 #38BB9E #9E38BB
tetradic
#BB9E38 #38BB5D #3855BB #BB3896
square
#BB9E38 #38BB5D #3855BB #BB3896
split-complementary
#BB9E38 #3896BB #5D38BB
monochromatic
#5D4E1C #8C762A #BB9E38 #D0B761 #DECC90

Accessibility & contrast

On white

2.61
#BB9E38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#BB9E38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E38
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E38#FFFFFF#000000##000000
##BB9E381.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2A
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#CA9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e38;
/* rgb */ color: rgb(187, 158, 56);
/* oklch */ color: oklch(70.7% 0.123 92.9);
Tailwind
colors: {
  custom: {
    50: '#d3ba74',
    500: '#bb9e38',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e38;
$custom-light: #d3ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e38",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 46.718,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70671,
    "c": 0.12299,
    "h": 92.9
  },
  "luminance": 0.35304
}

Semantic roles & 50–950 ramp

primary
#BB9E38
secondary
#8695C8
accent
#6BDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9E38

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

Preview Lab → · Contrast checker → · Palette generator →

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