#BC9F31#BC9F31

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

Color values

HEX#BC9F31
RGBrgb(188, 159, 49)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 74%, 74%)
CMYKcmyk(0%, 15.4%, 73.9%, 26.3%)
CIE-LABlab(66.30, -0.87, 58.05)
CIE-LCHlch(66.30, 58.05, 90.86°)
OKLaboklab(70.93% -0.0083 0.1281)
OKLCHoklch(70.93% 0.128 93.7)
XYZxyz(33.6934, 35.7113, 8.0234)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9F31 #314EBC
analogous
#BC5A31 #BC9F31 #94BC31
triadic
#BC9F31 #31BC9F #9F31BC
tetradic
#BC9F31 #31BC5A #314EBC #BC3194
square
#BC9F31 #31BC5A #314EBC #BC3194
split-complementary
#BC9F31 #3194BC #5A31BC
monochromatic
#5B4D18 #8B7624 #BC9F31 #D3B957 #E0CD88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC9F31#FFFFFF#000000##000000
##BC9F311.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)
#B09C1F
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#CB9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bc9f31;
/* rgb */ color: rgb(188, 159, 49);
/* oklch */ color: oklch(70.9% 0.128 93.7);
Tailwind
colors: {
  custom: {
    50: '#d4bb71',
    500: '#bc9f31',
    950: '#000000',
  },
}
SCSS
$custom: #bc9f31;
$custom-light: #d4bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9f31",
  "rgb": {
    "r": 188,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 47.482,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.12842,
    "h": 93.7
  },
  "luminance": 0.35709
}

Semantic roles & 50–950 ramp

primary
#BC9F31
secondary
#7F8FCA
accent
#66E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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