#BB9A30#BB9A30

#BB9A30 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.8% C 0.126 H 90.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#BB9A30
RGBrgb(187, 154, 48)
HSLhsl(46, 59%, 46%)
HSVhsv(46, 74%, 73%)
CMYKcmyk(0%, 17.6%, 74.3%, 26.7%)
CIE-LABlab(64.88, 1.34, 57.02)
CIE-LCHlch(64.88, 57.03, 88.66°)
OKLaboklab(69.78% -0.002 0.1258)
OKLCHoklch(69.78% 0.126 90.9)
XYZxyz(32.5845, 33.8914, 7.6212)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9A30 #3051BB
analogous
#BB5430 #BB9A30 #96BB30
triadic
#BB9A30 #30BB9A #9A30BB
tetradic
#BB9A30 #30BB54 #3051BB #BB3096
square
#BB9A30 #30BB54 #3051BB #BB3096
split-complementary
#BB9A30 #3096BB #5430BB
monochromatic
#5A4A17 #8A7223 #BB9A30 #D3B555 #E0CA86

Accessibility & contrast

On white

2.70
#BB9A30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#BB9A30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9A30
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9A30#FFFFFF#000000##000000
##BB9A301.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#B4A136
Tritanopia (blue-blind)
#CA8D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb9a30;
/* rgb */ color: rgb(187, 154, 48);
/* oklch */ color: oklch(69.8% 0.126 90.9);
Tailwind
colors: {
  custom: {
    50: '#d4b770',
    500: '#bb9a30',
    950: '#000000',
  },
}
SCSS
$custom: #bb9a30;
$custom-light: #d4b770;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9a30",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 45.755,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69777,
    "c": 0.12583,
    "h": 90.9
  },
  "luminance": 0.33889
}

Semantic roles & 50–950 ramp

primary
#BB9A30
secondary
#7D8FC9
accent
#6BE245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9A30

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

Preview Lab → · Contrast checker → · Palette generator →

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