#BC9D40#BC9D40

#BC9D40 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.117 H 90.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BC9D40
RGBrgb(188, 157, 64)
HSLhsl(45, 49%, 49%)
HSVhsv(45, 66%, 74%)
CMYKcmyk(0%, 16.5%, 66%, 26.3%)
CIE-LABlab(65.89, 1.01, 51.36)
CIE-LCHlch(65.89, 51.37, 88.87°)
OKLaboklab(70.64% -0.0011 0.1167)
OKLCHoklch(70.64% 0.117 90.6)
XYZxyz(33.7231, 35.1774, 9.8632)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9D40 #405FBC
analogous
#BC5F40 #BC9D40 #9DBC40
triadic
#BC9D40 #40BC9D #9D40BC
tetradic
#BC9D40 #40BC5F #405FBC #BC409D
square
#BC9D40 #40BC5F #405FBC #BC409D
split-complementary
#BC9D40 #409DBC #5F40BC
monochromatic
#615121 #8E7730 #BC9D40 #CDB56C #DDCC9A

Accessibility & contrast

On white

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

On black

8.04
#BC9D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9D40
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9D40#FFFFFF#000000##000000
##BC9D401.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B5A444
Tritanopia (blue-blind)
#CB9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9d40;
/* rgb */ color: rgb(188, 157, 64);
/* oklch */ color: oklch(70.6% 0.117 90.6);
Tailwind
colors: {
  custom: {
    50: '#d4b979',
    500: '#bc9d40',
    950: '#000000',
  },
}
SCSS
$custom: #bc9d40;
$custom-light: #d4b979;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9d40",
  "rgb": {
    "r": 188,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 45,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70636,
    "c": 0.11667,
    "h": 90.6
  },
  "luminance": 0.35175
}

Semantic roles & 50–950 ramp

primary
#BC9D40
secondary
#8F9EC9
accent
#71D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BC9D40

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

Preview Lab → · Contrast checker → · Palette generator →

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