#BB9F34#BB9F34

#BB9F34 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.126 H 94.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#BB9F34
RGBrgb(187, 159, 52)
HSLhsl(48, 56%, 47%)
HSVhsv(48, 72%, 73%)
CMYKcmyk(0%, 15%, 72.2%, 26.7%)
CIE-LABlab(66.22, -1.17, 56.77)
CIE-LCHlch(66.22, 56.78, 91.18°)
OKLaboklab(70.85% -0.0088 0.1261)
OKLCHoklch(70.85% 0.126 94)
XYZxyz(33.5132, 35.6109, 8.3565)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F34 #3450BB
analogous
#BB5C34 #BB9F34 #93BB34
triadic
#BB9F34 #34BB9F #9F34BB
tetradic
#BB9F34 #34BB5C #3450BB #BB3493
square
#BB9F34 #34BB5C #3450BB #BB3493
split-complementary
#BB9F34 #3493BB #5C34BB
monochromatic
#5B4E19 #8B7627 #BB9F34 #D1B95B #DFCD8B

Accessibility & contrast

On white

2.59
#BB9F34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#BB9F34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F34
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F34#FFFFFF#000000##000000
##BB9F341.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9f34;
/* rgb */ color: rgb(187, 159, 52);
/* oklch */ color: oklch(70.8% 0.126 94.0);
Tailwind
colors: {
  custom: {
    50: '#d3bb72',
    500: '#bb9f34',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f34;
$custom-light: #d3bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f34",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 47.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70848,
    "c": 0.12635,
    "h": 94
  },
  "luminance": 0.35609
}

Semantic roles & 50–950 ramp

primary
#BB9F34
secondary
#8291C9
accent
#68E048
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9F34

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

Preview Lab → · Contrast checker → · Palette generator →

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