#BB9E34#BB9E34

#BB9E34 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.126 H 93.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BB9E34
RGBrgb(187, 158, 52)
HSLhsl(47, 56%, 47%)
HSVhsv(47, 72%, 73%)
CMYKcmyk(0%, 15.5%, 72.2%, 26.7%)
CIE-LABlab(65.96, -0.63, 56.51)
CIE-LCHlch(65.96, 56.51, 90.64°)
OKLaboklab(70.64% -0.0072 0.1255)
OKLCHoklch(70.64% 0.126 93.3)
XYZxyz(33.3420, 35.2684, 8.2994)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E34 #3451BB
analogous
#BB5B34 #BB9E34 #95BB34
triadic
#BB9E34 #34BB9E #9E34BB
tetradic
#BB9E34 #34BB5B #3451BB #BB3495
square
#BB9E34 #34BB5B #3451BB #BB3495
split-complementary
#BB9E34 #3495BB #5B34BB
monochromatic
#5B4D19 #8B7627 #BB9E34 #D1B85B #DFCD8B

Accessibility & contrast

On white

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

On black

8.05
#BB9E34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E34
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E34#FFFFFF#000000##000000
##BB9E341.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9e34;
/* rgb */ color: rgb(187, 158, 52);
/* oklch */ color: oklch(70.6% 0.126 93.3);
Tailwind
colors: {
  custom: {
    50: '#d3ba72',
    500: '#bb9e34',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e34;
$custom-light: #d3ba72;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e34",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 52
  },
  "hsl": {
    "h": 47.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.12571,
    "h": 93.3
  },
  "luminance": 0.35266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9E34

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

Preview Lab → · Contrast checker → · Palette generator →

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