#BC9728#BC9728

#BC9728 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.2% C 0.129 H 89.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#BC9728
RGBrgb(188, 151, 40)
HSLhsl(45, 65%, 45%)
HSVhsv(45, 79%, 74%)
CMYKcmyk(0%, 19.7%, 78.7%, 26.3%)
CIE-LABlab(64.14, 3.07, 59.31)
CIE-LCHlch(64.14, 59.39, 87.03°)
OKLaboklab(69.21% 0.002 0.129)
OKLCHoklch(69.21% 0.129 89.1)
XYZxyz(32.1906, 32.9799, 6.6773)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9728 #284DBC
analogous
#BC4D28 #BC9728 #97BC28
triadic
#BC9728 #28BC97 #9728BC
tetradic
#BC9728 #28BC4D #284DBC #BC2897
square
#BC9728 #28BC4D #284DBC #BC2897
split-complementary
#BC9728 #2897BC #4D28BC
monochromatic
#574613 #8A6E1D #BC9728 #D8B449 #E3C97B

Accessibility & contrast

On white

2.76
#BC9728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#BC9728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9728
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9728#FFFFFF#000000##000000
##BC97281.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99611
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#CC8982
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bc9728;
/* rgb */ color: rgb(188, 151, 40);
/* oklch */ color: oklch(69.2% 0.129 89.1);
Tailwind
colors: {
  custom: {
    50: '#d5b56b',
    500: '#bc9728',
    950: '#000000',
  },
}
SCSS
$custom: #bc9728;
$custom-light: #d5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9728",
  "rgb": {
    "r": 188,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 45,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.12901,
    "h": 89.1
  },
  "luminance": 0.32978
}

Semantic roles & 50–950 ramp

primary
#BC9728
secondary
#758ACB
accent
#6AE840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9728

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

Preview Lab → · Contrast checker → · Palette generator →

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