#BC9E1F#BC9E1F

#BC9E1F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.137 H 94.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BC9E1F
RGBrgb(188, 158, 31)
HSLhsl(49, 72%, 43%)
HSVhsv(49, 84%, 74%)
CMYKcmyk(0%, 16%, 83.5%, 26.3%)
CIE-LABlab(65.94, -1.00, 63.72)
CIE-LCHlch(65.94, 63.73, 90.90°)
OKLaboklab(70.61% -0.0104 0.1366)
OKLCHoklch(70.61% 0.137 94.4)
XYZxyz(33.2152, 35.2460, 6.3497)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E1F #1F3DBC
analogous
#BC4F1F #BC9E1F #8BBC1F
triadic
#BC9E1F #1FBC9E #9E1FBC
tetradic
#BC9E1F #1FBC4F #1F3DBC #BC1F8B
square
#BC9E1F #1FBC4F #1F3DBC #BC1F8B
split-complementary
#BC9E1F #1F8BBC #4F1FBC
monochromatic
#53460E #877216 #BC9E1F #DEBF3A #E7D06E

Accessibility & contrast

On white

2.61
#BC9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BC9E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9E1F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9E1F#FFFFFF#000000##000000
##BC9E1F1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B7A429
Tritanopia (blue-blind)
#CC9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e1f;
/* rgb */ color: rgb(188, 158, 31);
/* oklch */ color: oklch(70.6% 0.137 94.4);
Tailwind
colors: {
  custom: {
    50: '#d5ba68',
    500: '#bc9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e1f;
$custom-light: #d5ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e1f",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 48.535,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.13704,
    "h": 94.4
  },
  "luminance": 0.35244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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