#BC9D38#BC9D38

#BC9D38 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.6% C 0.123 H 91.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BC9D38
RGBrgb(188, 157, 56)
HSLhsl(46, 54%, 48%)
HSVhsv(46, 70%, 74%)
CMYKcmyk(0%, 16.5%, 70.2%, 26.3%)
CIE-LABlab(65.82, 0.55, 54.77)
CIE-LCHlch(65.82, 54.77, 89.42°)
OKLaboklab(70.56% -0.0034 0.1225)
OKLCHoklch(70.56% 0.123 91.6)
XYZxyz(33.5116, 35.0928, 8.7491)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9D38 #3857BC
analogous
#BC5B38 #BC9D38 #99BC38
triadic
#BC9D38 #38BC9D #9D38BC
tetradic
#BC9D38 #38BC5B #3857BC #BC3899
square
#BC9D38 #38BC5B #3857BC #BC3899
split-complementary
#BC9D38 #3899BC #5B38BC
monochromatic
#5E4E1C #8D762A #BC9D38 #D0B661 #DECC90

Accessibility & contrast

On white

2.62
#BC9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BC9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9D38
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9D38#FFFFFF#000000##000000
##BC9D381.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#CB9088
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9d38;
/* rgb */ color: rgb(188, 157, 56);
/* oklch */ color: oklch(70.6% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#d4b974',
    500: '#bc9d38',
    950: '#000000',
  },
}
SCSS
$custom: #bc9d38;
$custom-light: #d4b974;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9d38",
  "rgb": {
    "r": 188,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 45.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.12257,
    "h": 91.6
  },
  "luminance": 0.35091
}

Semantic roles & 50–950 ramp

primary
#BC9D38
secondary
#8796C9
accent
#6DDD4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BC9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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