#BC9D22#BC9D22

#BC9D22 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.135 H 93.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BC9D22
RGBrgb(188, 157, 34)
HSLhsl(48, 69%, 44%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 16.5%, 81.9%, 26.3%)
CIE-LABlab(65.69, -0.38, 62.63)
CIE-LCHlch(65.69, 62.63, 90.34°)
OKLaboklab(70.42% -0.0084 0.1349)
OKLCHoklch(70.42% 0.135 93.6)
XYZxyz(33.0867, 34.9228, 6.5111)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9D22 #2241BC
analogous
#BC5022 #BC9D22 #8EBC22
triadic
#BC9D22 #22BC9D #9D22BC
tetradic
#BC9D22 #22BC50 #2241BC #BC228E
square
#BC9D22 #22BC50 #2241BC #BC228E
split-complementary
#BC9D22 #228EBC #5022BC
monochromatic
#54460F #887219 #BC9D22 #DCBD3F #E6CF73

Accessibility & contrast

On white

2.63
#BC9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BC9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9D22
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9D22#FFFFFF#000000##000000
##BC9D221.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B7A32B
Tritanopia (blue-blind)
#CC8F87
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9d22;
/* rgb */ color: rgb(188, 157, 34);
/* oklch */ color: oklch(70.4% 0.135 93.6);
Tailwind
colors: {
  custom: {
    50: '#d5b969',
    500: '#bc9d22',
    950: '#000000',
  },
}
SCSS
$custom: #bc9d22;
$custom-light: #d5b969;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9d22",
  "rgb": {
    "r": 188,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 47.922,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.13515,
    "h": 93.6
  },
  "luminance": 0.34921
}

Semantic roles & 50–950 ramp

primary
#BC9D22
secondary
#6D80CD
accent
#5FEC3C
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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