#BC9E21#BC9E21

#BC9E21 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.136 H 94.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BC9E21
RGBrgb(188, 158, 33)
HSLhsl(48, 70%, 43%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 16%, 82.4%, 26.3%)
CIE-LABlab(65.95, -0.95, 63.15)
CIE-LCHlch(65.95, 63.16, 90.86°)
OKLaboklab(70.62% -0.0101 0.1358)
OKLCHoklch(70.62% 0.136 94.2)
XYZxyz(33.2423, 35.2569, 6.4929)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E21 #213FBC
analogous
#BC5021 #BC9E21 #8CBC21
triadic
#BC9E21 #21BC9E #9E21BC
tetradic
#BC9E21 #21BC50 #213FBC #BC218C
square
#BC9E21 #21BC50 #213FBC #BC218C
split-complementary
#BC9E21 #218CBC #5021BC
monochromatic
#54460F #887218 #BC9E21 #DDBE3D #E6D071

Accessibility & contrast

On white

2.61
#BC9E21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BC9E21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9E21
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9E21#FFFFFF#000000##000000
##BC9E211.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B7A42A
Tritanopia (blue-blind)
#CC9187
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e21;
/* rgb */ color: rgb(188, 158, 33);
/* oklch */ color: oklch(70.6% 0.136 94.2);
Tailwind
colors: {
  custom: {
    50: '#d5ba69',
    500: '#bc9e21',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e21;
$custom-light: #d5ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e21",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 48.387,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7062,
    "c": 0.13619,
    "h": 94.2
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

primary
#BC9E21
secondary
#6C7FCD
accent
#5DED3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9E21

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

Preview Lab → · Contrast checker → · Palette generator →

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