#BC9828#BC9828

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

Color values

HEX#BC9828
RGBrgb(188, 152, 40)
HSLhsl(45, 65%, 45%)
HSVhsv(45, 79%, 74%)
CMYKcmyk(0%, 19.1%, 78.7%, 26.3%)
CIE-LABlab(64.41, 2.53, 59.55)
CIE-LCHlch(64.41, 59.60, 87.57°)
OKLaboklab(69.41% 0.0005 0.1295)
OKLCHoklch(69.41% 0.13 89.8)
XYZxyz(32.3522, 33.3032, 6.7312)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9828 #284CBC
analogous
#BC4E28 #BC9828 #96BC28
triadic
#BC9828 #28BC98 #9828BC
tetradic
#BC9828 #28BC4E #284CBC #BC2896
square
#BC9828 #28BC4E #284CBC #BC2896
split-complementary
#BC9828 #2896BC #4E28BC
monochromatic
#574613 #8A6F1D #BC9828 #D8B549 #E3CA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC9828#FFFFFF#000000##000000
##BC98281.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)
#AA9610
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#CC8A83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bc9828;
/* rgb */ color: rgb(188, 152, 40);
/* oklch */ color: oklch(69.4% 0.130 89.8);
Tailwind
colors: {
  custom: {
    50: '#d5b56b',
    500: '#bc9828',
    950: '#000000',
  },
}
SCSS
$custom: #bc9828;
$custom-light: #d5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9828",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 45.405,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.12951,
    "h": 89.8
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#BC9828
secondary
#758ACB
accent
#69E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9828

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

Preview Lab → · Contrast checker → · Palette generator →

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