#BC9F1F#BC9F1F

#BC9F1F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.138 H 95.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#BC9F1F
RGBrgb(188, 159, 31)
HSLhsl(49, 72%, 43%)
HSVhsv(49, 84%, 74%)
CMYKcmyk(0%, 15.4%, 83.5%, 26.3%)
CIE-LABlab(66.20, -1.54, 63.94)
CIE-LCHlch(66.20, 63.96, 91.38°)
OKLaboklab(70.82% -0.0119 0.1371)
OKLCHoklch(70.82% 0.138 95)
XYZxyz(33.3864, 35.5885, 6.4068)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9F1F #1F3CBC
analogous
#BC501F #BC9F1F #8ABC1F
triadic
#BC9F1F #1FBC9F #9F1FBC
tetradic
#BC9F1F #1FBC50 #1F3CBC #BC1F8A
square
#BC9F1F #1FBC50 #1F3CBC #BC1F8A
split-complementary
#BC9F1F #1F8ABC #501FBC
monochromatic
#53460E #877316 #BC9F1F #DEC03A #E7D16E

Accessibility & contrast

On white

2.59
#BC9F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#BC9F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9F1F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9F1F#FFFFFF#000000##000000
##BC9F1F1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B8A529
Tritanopia (blue-blind)
#CC9288
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bc9f1f;
/* rgb */ color: rgb(188, 159, 31);
/* oklch */ color: oklch(70.8% 0.138 95.0);
Tailwind
colors: {
  custom: {
    50: '#d5ba68',
    500: '#bc9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9f1f;
$custom-light: #d5ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9f1f",
  "rgb": {
    "r": 188,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 48.917,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.13765,
    "h": 95
  },
  "luminance": 0.35587
}

Semantic roles & 50–950 ramp

primary
#BC9F1F
secondary
#697CCD
accent
#5BEE39
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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