#BC9A28#BC9A28

#BC9A28 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.131 H 91.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#BC9A28
RGBrgb(188, 154, 40)
HSLhsl(46, 65%, 45%)
HSVhsv(46, 79%, 74%)
CMYKcmyk(0%, 18.1%, 78.7%, 26.3%)
CIE-LABlab(64.93, 1.45, 60.03)
CIE-LCHlch(64.93, 60.04, 88.62°)
OKLaboklab(69.83% -0.0026 0.1305)
OKLCHoklch(69.83% 0.131 91.1)
XYZxyz(32.6796, 33.9578, 6.8403)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9A28 #284ABC
analogous
#BC5028 #BC9A28 #94BC28
triadic
#BC9A28 #28BC9A #9A28BC
tetradic
#BC9A28 #28BC50 #284ABC #BC2894
square
#BC9A28 #28BC50 #284ABC #BC2894
split-complementary
#BC9A28 #2894BC #5028BC
monochromatic
#574713 #8A711D #BC9A28 #D8B749 #E3CB7B

Accessibility & contrast

On white

2.70
#BC9A28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#BC9A28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9A28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9A28#FFFFFF#000000##000000
##BC9A281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#CC8D84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9a28;
/* rgb */ color: rgb(188, 154, 40);
/* oklch */ color: oklch(69.8% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#d5b76c',
    500: '#bc9a28',
    950: '#000000',
  },
}
SCSS
$custom: #bc9a28;
$custom-light: #d5b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9a28",
  "rgb": {
    "r": 188,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 46.216,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69827,
    "c": 0.13056,
    "h": 91.1
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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