#BC9827#BC9827

#BC9827 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.4% C 0.130 H 89.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BC9827
RGBrgb(188, 152, 39)
HSLhsl(46, 66%, 45%)
HSVhsv(46, 79%, 74%)
CMYKcmyk(0%, 19.1%, 79.3%, 26.3%)
CIE-LABlab(64.40, 2.49, 59.89)
CIE-LCHlch(64.40, 59.94, 87.62°)
OKLaboklab(69.41% 0.0003 0.13)
OKLCHoklch(69.41% 0.13 89.9)
XYZxyz(32.3354, 33.2964, 6.6428)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9827 #274BBC
analogous
#BC4D27 #BC9827 #96BC27
triadic
#BC9827 #27BC98 #9827BC
tetradic
#BC9827 #27BC4D #274BBC #BC2796
square
#BC9827 #27BC4D #274BBC #BC2796
split-complementary
#BC9827 #2796BC #4D27BC
monochromatic
#574612 #896F1C #BC9827 #D9B647 #E3CA7A

Accessibility & contrast

On white

2.74
#BC9827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BC9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9827
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9827#FFFFFF#000000##000000
##BC98271.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#CC8A83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bc9827;
/* rgb */ color: rgb(188, 152, 39);
/* oklch */ color: oklch(69.4% 0.130 89.9);
Tailwind
colors: {
  custom: {
    50: '#d5b56b',
    500: '#bc9827',
    950: '#000000',
  },
}
SCSS
$custom: #bc9827;
$custom-light: #d5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9827",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 45.503,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69408,
    "c": 0.13002,
    "h": 89.9
  },
  "luminance": 0.33294
}

Semantic roles & 50–950 ramp

primary
#BC9827
secondary
#7389CB
accent
#68E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9827

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

Preview Lab → · Contrast checker → · Palette generator →

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