#BB9E30#BB9E30

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

Color values

HEX#BB9E30
RGBrgb(187, 158, 48)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 15.5%, 74.3%, 26.7%)
CIE-LABlab(65.93, -0.82, 58.04)
CIE-LCHlch(65.93, 58.04, 90.81°)
OKLaboklab(70.61% -0.0082 0.128)
OKLCHoklch(70.61% 0.128 93.7)
XYZxyz(33.2557, 35.2338, 7.8449)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E30 #304DBB
analogous
#BB5830 #BB9E30 #92BB30
triadic
#BB9E30 #30BB9E #9E30BB
tetradic
#BB9E30 #30BB58 #304DBB #BB3092
square
#BB9E30 #30BB58 #304DBB #BB3092
split-complementary
#BB9E30 #3092BB #5830BB
monochromatic
#5A4C17 #8A7523 #BB9E30 #D3B955 #E0CD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9E30#FFFFFF#000000##000000
##BB9E301.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)
#AF9B1E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#CA9188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e30;
/* rgb */ color: rgb(187, 158, 48);
/* oklch */ color: oklch(70.6% 0.128 93.7);
Tailwind
colors: {
  custom: {
    50: '#d3ba70',
    500: '#bb9e30',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e30;
$custom-light: #d3ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e30",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 48
  },
  "hsl": {
    "h": 47.482,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.12823,
    "h": 93.7
  },
  "luminance": 0.35232
}

Semantic roles & 50–950 ramp

primary
#BB9E30
secondary
#7D8DC9
accent
#66E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9E30

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

Preview Lab → · Contrast checker → · Palette generator →

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