#BB9729#BB9729

#BB9729 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 69.1% C 0.128 H 89.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BB9729
RGBrgb(187, 151, 41)
HSLhsl(45, 64%, 45%)
HSVhsv(45, 78%, 73%)
CMYKcmyk(0%, 19.3%, 78.1%, 26.7%)
CIE-LABlab(64.05, 2.67, 58.83)
CIE-LCHlch(64.05, 58.89, 87.41°)
OKLaboklab(69.11% 0.001 0.1282)
OKLCHoklch(69.11% 0.128 89.5)
XYZxyz(31.9623, 32.8602, 6.7566)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9729 #294DBB
analogous
#BB4E29 #BB9729 #96BB29
triadic
#BB9729 #29BB97 #9729BB
tetradic
#BB9729 #29BB4E #294DBB #BB2996
square
#BB9729 #29BB4E #294DBB #BB2996
split-complementary
#BB9729 #2996BB #4E29BB
monochromatic
#574613 #896E1E #BB9729 #D7B44A #E2C97C

Accessibility & contrast

On white

2.77
#BB9729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#BB9729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9729
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9729#FFFFFF#000000##000000
##BB97291.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#CB8A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb9729;
/* rgb */ color: rgb(187, 151, 41);
/* oklch */ color: oklch(69.1% 0.128 89.5);
Tailwind
colors: {
  custom: {
    50: '#d4b56c',
    500: '#bb9729',
    950: '#000000',
  },
}
SCSS
$custom: #bb9729;
$custom-light: #d4b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9729",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 45.205,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.12823,
    "h": 89.5
  },
  "luminance": 0.32858
}

Semantic roles & 50–950 ramp

primary
#BB9729
secondary
#758ACB
accent
#6AE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9729

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

Preview Lab → · Contrast checker → · Palette generator →

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