#BC9B28#BC9B28

#BC9B28 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.131 H 91.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BC9B28
RGBrgb(188, 155, 40)
HSLhsl(47, 65%, 45%)
HSVhsv(47, 79%, 74%)
CMYKcmyk(0%, 17.6%, 78.7%, 26.3%)
CIE-LABlab(65.19, 0.91, 60.27)
CIE-LCHlch(65.19, 60.27, 89.14°)
OKLaboklab(70.03% -0.0042 0.1311)
OKLCHoklch(70.03% 0.131 91.8)
XYZxyz(32.8453, 34.2893, 6.8956)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9B28 #2849BC
analogous
#BC5128 #BC9B28 #93BC28
triadic
#BC9B28 #28BC9B #9B28BC
tetradic
#BC9B28 #28BC51 #2849BC #BC2893
square
#BC9B28 #28BC51 #2849BC #BC2893
split-complementary
#BC9B28 #2893BC #5128BC
monochromatic
#574813 #8A711D #BC9B28 #D8B849 #E3CC7B

Accessibility & contrast

On white

2.67
#BC9B28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BC9B28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9B28
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9B28#FFFFFF#000000##000000
##BC9B281.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990F
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#CC8E85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9b28;
/* rgb */ color: rgb(188, 155, 40);
/* oklch */ color: oklch(70.0% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#d5b86c',
    500: '#bc9b28',
    950: '#000000',
  },
}
SCSS
$custom: #bc9b28;
$custom-light: #d5b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9b28",
  "rgb": {
    "r": 188,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 46.622,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.13112,
    "h": 91.8
  },
  "luminance": 0.34287
}

Semantic roles & 50–950 ramp

primary
#BC9B28
secondary
#7588CB
accent
#65E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9B28

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

Preview Lab → · Contrast checker → · Palette generator →

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