#BC9928#BC9928

#BC9928 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.6% C 0.130 H 90.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#BC9928
RGBrgb(188, 153, 40)
HSLhsl(46, 65%, 45%)
HSVhsv(46, 79%, 74%)
CMYKcmyk(0%, 18.6%, 78.7%, 26.3%)
CIE-LABlab(64.67, 1.99, 59.79)
CIE-LCHlch(64.67, 59.82, 88.09°)
OKLaboklab(69.62% -0.0011 0.13)
OKLCHoklch(69.62% 0.13 90.5)
XYZxyz(32.5152, 33.6291, 6.7855)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9928 #284BBC
analogous
#BC4F28 #BC9928 #95BC28
triadic
#BC9928 #28BC99 #9928BC
tetradic
#BC9928 #28BC4F #284BBC #BC2895
square
#BC9928 #28BC4F #284BBC #BC2895
split-complementary
#BC9928 #2895BC #4F28BC
monochromatic
#574713 #8A701D #BC9928 #D8B649 #E3CB7B

Accessibility & contrast

On white

2.72
#BC9928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#BC9928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9928
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9928#FFFFFF#000000##000000
##BC99281.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9710
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#CC8B84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bc9928;
/* rgb */ color: rgb(188, 153, 40);
/* oklch */ color: oklch(69.6% 0.130 90.5);
Tailwind
colors: {
  custom: {
    50: '#d5b66b',
    500: '#bc9928',
    950: '#000000',
  },
}
SCSS
$custom: #bc9928;
$custom-light: #d5b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9928",
  "rgb": {
    "r": 188,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 45.811,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6962,
    "c": 0.13002,
    "h": 90.5
  },
  "luminance": 0.33627
}

Semantic roles & 50–950 ramp

primary
#BC9928
secondary
#7589CB
accent
#68E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9928

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

Preview Lab → · Contrast checker → · Palette generator →

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