#BB9F3C#BB9F3C

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

Color values

HEX#BB9F3C
RGBrgb(187, 159, 60)
HSLhsl(47, 51%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 15%, 67.9%, 26.7%)
CIE-LABlab(66.28, -0.74, 53.51)
CIE-LCHlch(66.28, 53.52, 90.79°)
OKLaboklab(70.91% -0.0066 0.1206)
OKLCHoklch(70.91% 0.121 93.1)
XYZxyz(33.7090, 35.6892, 9.3873)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F3C #3C58BB
analogous
#BB603C #BB9F3C #97BB3C
triadic
#BB9F3C #3CBB9F #9F3CBB
tetradic
#BB9F3C #3CBB60 #3C58BB #BB3C97
square
#BB9F3C #3CBB60 #3C58BB #BB3C97
split-complementary
#BB9F3C #3C97BB #603CBB
monochromatic
#5E501E #8D782D #BB9F3C #CEB766 #DDCD95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9F3C#FFFFFF#000000##000000
##BB9F3C1.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)
#AF9C2F
Deuteranopia (green-blind)
#B6A541
Tritanopia (blue-blind)
#CA938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f3c;
/* rgb */ color: rgb(187, 159, 60);
/* oklch */ color: oklch(70.9% 0.121 93.1);
Tailwind
colors: {
  custom: {
    50: '#d3bb77',
    500: '#bb9f3c',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f3c;
$custom-light: #d3bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f3c",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 60
  },
  "hsl": {
    "h": 46.772,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.12078,
    "h": 93.1
  },
  "luminance": 0.35687
}

Semantic roles & 50–950 ramp

primary
#BB9F3C
secondary
#8B98C8
accent
#6CDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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