#BC9F40#BC9F40

#BC9F40 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.118 H 92.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BC9F40
RGBrgb(188, 159, 64)
HSLhsl(46, 49%, 49%)
HSVhsv(46, 66%, 74%)
CMYKcmyk(0%, 15.4%, 66%, 26.3%)
CIE-LABlab(66.41, -0.07, 51.92)
CIE-LCHlch(66.41, 51.92, 90.07°)
OKLaboklab(71.05% -0.0042 0.1179)
OKLCHoklch(71.05% 0.118 92.1)
XYZxyz(34.0643, 35.8597, 9.9769)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9F40 #405DBC
analogous
#BC6140 #BC9F40 #9BBC40
triadic
#BC9F40 #40BC9F #9F40BC
tetradic
#BC9F40 #40BC61 #405DBC #BC409B
square
#BC9F40 #40BC61 #405DBC #BC409B
split-complementary
#BC9F40 #409BBC #6140BC
monochromatic
#615221 #8E7830 #BC9F40 #CDB66C #DDCD9A

Accessibility & contrast

On white

2.57
#BC9F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BC9F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9F40
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9F40#FFFFFF#000000##000000
##BC9F401.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D35
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#CB938B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bc9f40;
/* rgb */ color: rgb(188, 159, 64);
/* oklch */ color: oklch(71.1% 0.118 92.1);
Tailwind
colors: {
  custom: {
    50: '#d3bb79',
    500: '#bc9f40',
    950: '#000000',
  },
}
SCSS
$custom: #bc9f40;
$custom-light: #d3bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9f40",
  "rgb": {
    "r": 188,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 45.968,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.11794,
    "h": 92.1
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#BC9F40
secondary
#8F9DC9
accent
#6FD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BC9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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