#BC9E31#BC9E31

#BC9E31 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.128 H 93.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#BC9E31
RGBrgb(188, 158, 49)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 74%, 74%)
CMYKcmyk(0%, 16%, 73.9%, 26.3%)
CIE-LABlab(66.03, -0.33, 57.79)
CIE-LCHlch(66.03, 57.79, 90.33°)
OKLaboklab(70.72% -0.0068 0.1276)
OKLCHoklch(70.72% 0.128 93)
XYZxyz(33.5221, 35.3688, 7.9663)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E31 #314FBC
analogous
#BC5831 #BC9E31 #95BC31
triadic
#BC9E31 #31BC9E #9E31BC
tetradic
#BC9E31 #31BC58 #314FBC #BC3195
square
#BC9E31 #31BC58 #314FBC #BC3195
split-complementary
#BC9E31 #3195BC #5831BC
monochromatic
#5B4C18 #8B7524 #BC9E31 #D3B857 #E0CD88

Accessibility & contrast

On white

2.60
#BC9E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#BC9E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9E31
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9E31#FFFFFF#000000##000000
##BC9E311.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#CB9188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e31;
/* rgb */ color: rgb(188, 158, 49);
/* oklch */ color: oklch(70.7% 0.128 93.0);
Tailwind
colors: {
  custom: {
    50: '#d4ba71',
    500: '#bc9e31',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e31;
$custom-light: #d4ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e31",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 47.05,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.12778,
    "h": 93
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#BC9E31
secondary
#7F8FCA
accent
#68E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9E31

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

Preview Lab → · Contrast checker → · Palette generator →

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