#BB9B24#BB9B24

#BB9B24 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.133 H 92.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BB9B24
RGBrgb(187, 155, 36)
HSLhsl(47, 68%, 44%)
HSVhsv(47, 81%, 73%)
CMYKcmyk(0%, 17.1%, 80.7%, 26.7%)
CIE-LABlab(65.07, 0.32, 61.44)
CIE-LCHlch(65.07, 61.44, 89.70°)
OKLaboklab(69.91% -0.0062 0.1328)
OKLCHoklch(69.91% 0.133 92.7)
XYZxyz(32.5352, 34.1369, 6.5441)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B24 #2444BB
analogous
#BB4F24 #BB9B24 #8FBB24
triadic
#BB9B24 #24BB9B #9B24BB
tetradic
#BB9B24 #24BB4F #2444BB #BB248F
square
#BB9B24 #24BB4F #2444BB #BB248F
split-complementary
#BB9B24 #248FBB #4F24BB
monochromatic
#544610 #88701A #BB9B24 #DBBA42 #E4CD75

Accessibility & contrast

On white

2.68
#BB9B24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BB9B24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9B24
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9B24#FFFFFF#000000##000000
##BB9B241.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9903
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#CB8E85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b24;
/* rgb */ color: rgb(187, 155, 36);
/* oklch */ color: oklch(69.9% 0.133 92.7);
Tailwind
colors: {
  custom: {
    50: '#d4b86a',
    500: '#bb9b24',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b24;
$custom-light: #d4b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b24",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 47.285,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.13291,
    "h": 92.7
  },
  "luminance": 0.34135
}

Semantic roles & 50–950 ramp

primary
#BB9B24
secondary
#6F83CC
accent
#62EB3D
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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