#BC9F21#BC9F21

#BC9F21 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.137 H 94.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#BC9F21
RGBrgb(188, 159, 33)
HSLhsl(49, 70%, 43%)
HSVhsv(49, 82%, 74%)
CMYKcmyk(0%, 15.4%, 82.4%, 26.3%)
CIE-LABlab(66.21, -1.48, 63.38)
CIE-LCHlch(66.21, 63.40, 91.34°)
OKLaboklab(70.83% -0.0116 0.1363)
OKLCHoklch(70.83% 0.137 94.9)
XYZxyz(33.4136, 35.5994, 6.5500)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9F21 #213EBC
analogous
#BC5121 #BC9F21 #8BBC21
triadic
#BC9F21 #21BC9F #9F21BC
tetradic
#BC9F21 #21BC51 #213EBC #BC218B
square
#BC9F21 #21BC51 #213EBC #BC218B
split-complementary
#BC9F21 #218BBC #5121BC
monochromatic
#54470F #887318 #BC9F21 #DDBF3D #E6D071

Accessibility & contrast

On white

2.59
#BC9F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#BC9F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9F21
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9F21#FFFFFF#000000##000000
##BC9F211.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#CC9288
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bc9f21;
/* rgb */ color: rgb(188, 159, 33);
/* oklch */ color: oklch(70.8% 0.137 94.9);
Tailwind
colors: {
  custom: {
    50: '#d5ba69',
    500: '#bc9f21',
    950: '#000000',
  },
}
SCSS
$custom: #bc9f21;
$custom-light: #d5ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9f21",
  "rgb": {
    "r": 188,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 48.774,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.13681,
    "h": 94.9
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#BC9F21
secondary
#6C7ECD
accent
#5CED3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9F21

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

Preview Lab → · Contrast checker → · Palette generator →

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