#BB9F3B#BB9F3B

#BB9F3B is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.122 H 93.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BB9F3B
RGBrgb(187, 159, 59)
HSLhsl(47, 52%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 15%, 68.4%, 26.7%)
CIE-LABlab(66.27, -0.80, 53.93)
CIE-LCHlch(66.27, 53.94, 90.85°)
OKLaboklab(70.91% -0.0069 0.1213)
OKLCHoklch(70.91% 0.122 93.2)
XYZxyz(33.6828, 35.6787, 9.2494)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F3B #3B57BB
analogous
#BB5F3B #BB9F3B #97BB3B
triadic
#BB9F3B #3BBB9F #9F3BBB
tetradic
#BB9F3B #3BBB5F #3B57BB #BB3B97
square
#BB9F3B #3BBB5F #3B57BB #BB3B97
split-complementary
#BB9F3B #3B97BB #5F3BBB
monochromatic
#5E501E #8C772C #BB9F3B #CEB765 #DDCD93

Accessibility & contrast

On white

2.58
#BB9F3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BB9F3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F3B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F3B#FFFFFF#000000##000000
##BB9F3B1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#CA938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f3b;
/* rgb */ color: rgb(187, 159, 59);
/* oklch */ color: oklch(70.9% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#d3bb76',
    500: '#bb9f3b',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f3b;
$custom-light: #d3bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f3b",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 59
  },
  "hsl": {
    "h": 46.875,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.12151,
    "h": 93.2
  },
  "luminance": 0.35677
}

Semantic roles & 50–950 ramp

primary
#BB9F3B
secondary
#8A97C8
accent
#6CDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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