#BC9B31#BC9B31

#BC9B31 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.1% C 0.126 H 91.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BC9B31
RGBrgb(188, 155, 49)
HSLhsl(46, 59%, 46%)
HSVhsv(46, 74%, 74%)
CMYKcmyk(0%, 17.6%, 73.9%, 26.3%)
CIE-LABlab(65.25, 1.28, 57.02)
CIE-LCHlch(65.25, 57.04, 88.71°)
OKLaboklab(70.09% -0.0021 0.126)
OKLCHoklch(70.09% 0.126 91)
XYZxyz(33.0166, 34.3578, 7.7978)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9B31 #3152BC
analogous
#BC5531 #BC9B31 #98BC31
triadic
#BC9B31 #31BC9B #9B31BC
tetradic
#BC9B31 #31BC55 #3152BC #BC3198
square
#BC9B31 #31BC55 #3152BC #BC3198
split-complementary
#BC9B31 #3198BC #5531BC
monochromatic
#5B4B18 #8B7324 #BC9B31 #D3B657 #E0CB88

Accessibility & contrast

On white

2.67
#BC9B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BC9B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9B31
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9B31#FFFFFF#000000##000000
##BC9B311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#CC8E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9b31;
/* rgb */ color: rgb(188, 155, 49);
/* oklch */ color: oklch(70.1% 0.126 91.0);
Tailwind
colors: {
  custom: {
    50: '#d4b870',
    500: '#bc9b31',
    950: '#000000',
  },
}
SCSS
$custom: #bc9b31;
$custom-light: #d4b870;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9b31",
  "rgb": {
    "r": 188,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 45.755,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70094,
    "c": 0.12599,
    "h": 91
  },
  "luminance": 0.34356
}

Semantic roles & 50–950 ramp

primary
#BC9B31
secondary
#7F91CA
accent
#6BE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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