#BC9A2B#BC9A2B

#BC9A2B is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.129 H 90.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#BC9A2B
RGBrgb(188, 154, 43)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 77%, 74%)
CMYKcmyk(0%, 18.1%, 77.1%, 26.3%)
CIE-LABlab(64.95, 1.57, 58.99)
CIE-LCHlch(64.95, 59.01, 88.48°)
OKLaboklab(69.85% -0.002 0.1289)
OKLCHoklch(69.85% 0.129 90.9)
XYZxyz(32.7326, 33.9790, 7.1196)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9A2B #2B4DBC
analogous
#BC512B #BC9A2B #95BC2B
triadic
#BC9A2B #2BBC9A #9A2BBC
tetradic
#BC9A2B #2BBC51 #2B4DBC #BC2B95
square
#BC9A2B #2BBC51 #2B4DBC #BC2B95
split-complementary
#BC9A2B #2B95BC #512BBC
monochromatic
#584814 #8A7120 #BC9A2B #D6B64E #E2CB80

Accessibility & contrast

On white

2.69
#BC9A2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#BC9A2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9A2B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9A2B#FFFFFF#000000##000000
##BC9A2B1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9816
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#CC8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9a2b;
/* rgb */ color: rgb(188, 154, 43);
/* oklch */ color: oklch(69.8% 0.129 90.9);
Tailwind
colors: {
  custom: {
    50: '#d4b76d',
    500: '#bc9a2b',
    950: '#000000',
  },
}
SCSS
$custom: #bc9a2b;
$custom-light: #d4b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9a2b",
  "rgb": {
    "r": 188,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 45.931,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.12896,
    "h": 90.9
  },
  "luminance": 0.33977
}

Semantic roles & 50–950 ramp

primary
#BC9A2B
secondary
#788CCB
accent
#68E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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