#BB9F38#BB9F38

#BB9F38 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.9% C 0.124 H 93.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#BB9F38
RGBrgb(187, 159, 56)
HSLhsl(47, 54%, 48%)
HSVhsv(47, 70%, 73%)
CMYKcmyk(0%, 15%, 70.1%, 26.7%)
CIE-LABlab(66.25, -0.96, 55.17)
CIE-LCHlch(66.25, 55.18, 91.00°)
OKLaboklab(70.88% -0.0077 0.1234)
OKLCHoklch(70.88% 0.124 93.6)
XYZxyz(33.6072, 35.6485, 8.8513)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F38 #3854BB
analogous
#BB5E38 #BB9F38 #95BB38
triadic
#BB9F38 #38BB9F #9F38BB
tetradic
#BB9F38 #38BB5E #3854BB #BB3895
square
#BB9F38 #38BB5E #3854BB #BB3895
split-complementary
#BB9F38 #3895BB #5E38BB
monochromatic
#5D4F1C #8C772A #BB9F38 #D0B861 #DECD90

Accessibility & contrast

On white

2.58
#BB9F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#BB9F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F38
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F38#FFFFFF#000000##000000
##BB9F381.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2A
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#CA928A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f38;
/* rgb */ color: rgb(187, 159, 56);
/* oklch */ color: oklch(70.9% 0.124 93.6);
Tailwind
colors: {
  custom: {
    50: '#d3bb74',
    500: '#bb9f38',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f38;
$custom-light: #d3bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f38",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 47.176,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7088,
    "c": 0.12365,
    "h": 93.6
  },
  "luminance": 0.35647
}

Semantic roles & 50–950 ramp

primary
#BB9F38
secondary
#8694C8
accent
#6ADD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9F38

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

Preview Lab → · Contrast checker → · Palette generator →

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