#BC9C28#BC9C28

#BC9C28 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.132 H 92.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#BC9C28
RGBrgb(188, 156, 40)
HSLhsl(47, 65%, 45%)
HSVhsv(47, 79%, 74%)
CMYKcmyk(0%, 17%, 78.7%, 26.3%)
CIE-LABlab(65.45, 0.37, 60.50)
CIE-LCHlch(65.45, 60.51, 89.65°)
OKLaboklab(70.24% -0.0057 0.1316)
OKLCHoklch(70.24% 0.132 92.5)
XYZxyz(33.0124, 34.6235, 6.9513)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9C28 #2848BC
analogous
#BC5228 #BC9C28 #92BC28
triadic
#BC9C28 #28BC9C #9C28BC
tetradic
#BC9C28 #28BC52 #2848BC #BC2892
square
#BC9C28 #28BC52 #2848BC #BC2892
split-complementary
#BC9C28 #2892BC #5228BC
monochromatic
#574813 #8A721D #BC9C28 #D8B949 #E3CD7B

Accessibility & contrast

On white

2.65
#BC9C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#BC9C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9C28
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9C28#FFFFFF#000000##000000
##BC9C281.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0E
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#CC8F86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bc9c28;
/* rgb */ color: rgb(188, 156, 40);
/* oklch */ color: oklch(70.2% 0.132 92.5);
Tailwind
colors: {
  custom: {
    50: '#d5b86c',
    500: '#bc9c28',
    950: '#000000',
  },
}
SCSS
$custom: #bc9c28;
$custom-light: #d5b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9c28",
  "rgb": {
    "r": 188,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 47.027,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.13168,
    "h": 92.5
  },
  "luminance": 0.34622
}

Semantic roles & 50–950 ramp

primary
#BC9C28
secondary
#7587CB
accent
#64E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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