#BC9C1F#BC9C1F

#BC9C1F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.136 H 93.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BC9C1F
RGBrgb(188, 156, 31)
HSLhsl(48, 72%, 43%)
HSVhsv(48, 84%, 74%)
CMYKcmyk(0%, 17%, 83.5%, 26.3%)
CIE-LABlab(65.41, 0.07, 63.27)
CIE-LCHlch(65.41, 63.27, 89.94°)
OKLaboklab(70.19% -0.0073 0.1357)
OKLCHoklch(70.19% 0.136 93.1)
XYZxyz(32.8768, 34.5693, 6.2369)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9C1F #1F3FBC
analogous
#BC4E1F #BC9C1F #8DBC1F
triadic
#BC9C1F #1FBC9C #9C1FBC
tetradic
#BC9C1F #1FBC4E #1F3FBC #BC1F8D
square
#BC9C1F #1FBC4E #1F3FBC #BC1F8D
split-complementary
#BC9C1F #1F8DBC #4E1FBC
monochromatic
#53450E #877016 #BC9C1F #DEBD3A #E7CE6E

Accessibility & contrast

On white

2.65
#BC9C1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#BC9C1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9C1F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9C1F#FFFFFF#000000##000000
##BC9C1F1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B6A328
Tritanopia (blue-blind)
#CC8E85
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bc9c1f;
/* rgb */ color: rgb(188, 156, 31);
/* oklch */ color: oklch(70.2% 0.136 93.1);
Tailwind
colors: {
  custom: {
    50: '#d5b868',
    500: '#bc9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9c1f;
$custom-light: #d5b868;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9c1f",
  "rgb": {
    "r": 188,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 47.771,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70194,
    "c": 0.13586,
    "h": 93.1
  },
  "luminance": 0.34567
}

Semantic roles & 50–950 ramp

primary
#BC9C1F
secondary
#697ECD
accent
#5EEE39
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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