#BB9D2C#BB9D2C

#BB9D2C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.130 H 93.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#BB9D2C
RGBrgb(187, 157, 44)
HSLhsl(47, 62%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 16%, 76.5%, 26.7%)
CIE-LABlab(65.64, -0.46, 59.24)
CIE-LCHlch(65.64, 59.24, 90.44°)
OKLaboklab(70.37% -0.0076 0.1297)
OKLCHoklch(70.37% 0.13 93.3)
XYZxyz(33.0069, 34.8625, 7.3730)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D2C #2C4ABB
analogous
#BB562C #BB9D2C #91BB2C
triadic
#BB9D2C #2CBB9D #9D2CBB
tetradic
#BB9D2C #2CBB56 #2C4ABB #BB2C91
square
#BB9D2C #2CBB56 #2C4ABB #BB2C91
split-complementary
#BB9D2C #2C91BB #562CBB
monochromatic
#584A15 #897320 #BB9D2C #D6B94F #E1CD80

Accessibility & contrast

On white

2.63
#BB9D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#BB9D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D2C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D2C#FFFFFF#000000##000000
##BB9D2C1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A17
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#CA9087
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9d2c;
/* rgb */ color: rgb(187, 157, 44);
/* oklch */ color: oklch(70.4% 0.130 93.3);
Tailwind
colors: {
  custom: {
    50: '#d4b96e',
    500: '#bb9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d2c;
$custom-light: #d4b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d2c",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 47.413,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.12995,
    "h": 93.3
  },
  "luminance": 0.34861
}

Semantic roles & 50–950 ramp

primary
#BB9D2C
secondary
#798ACA
accent
#65E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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