#BC9D1F#BC9D1F

#BC9D1F is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.136 H 93.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BC9D1F
RGBrgb(188, 157, 31)
HSLhsl(48, 72%, 43%)
HSVhsv(48, 84%, 74%)
CMYKcmyk(0%, 16.5%, 83.5%, 26.3%)
CIE-LABlab(65.68, -0.47, 63.49)
CIE-LCHlch(65.68, 63.49, 90.42°)
OKLaboklab(70.4% -0.0089 0.1362)
OKLCHoklch(70.4% 0.136 93.7)
XYZxyz(33.0453, 34.9063, 6.2931)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9D1F #1F3EBC
analogous
#BC4F1F #BC9D1F #8CBC1F
triadic
#BC9D1F #1FBC9D #9D1FBC
tetradic
#BC9D1F #1FBC4F #1F3EBC #BC1F8C
square
#BC9D1F #1FBC4F #1F3EBC #BC1F8C
split-complementary
#BC9D1F #1F8CBC #4F1FBC
monochromatic
#53450E #877116 #BC9D1F #DEBE3A #E7CF6E

Accessibility & contrast

On white

2.63
#BC9D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BC9D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9D1F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9D1F#FFFFFF#000000##000000
##BC9D1F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B7A329
Tritanopia (blue-blind)
#CC8F86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bc9d1f;
/* rgb */ color: rgb(188, 157, 31);
/* oklch */ color: oklch(70.4% 0.136 93.7);
Tailwind
colors: {
  custom: {
    50: '#d5b968',
    500: '#bc9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9d1f;
$custom-light: #d5b968;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9d1f",
  "rgb": {
    "r": 188,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 48.153,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.13644,
    "h": 93.7
  },
  "luminance": 0.34904
}

Semantic roles & 50–950 ramp

primary
#BC9D1F
secondary
#697DCD
accent
#5DEE39
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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