#BC9E22#BC9E22

#BC9E22 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#BC9E22
RGBrgb(188, 158, 34)
HSLhsl(48, 69%, 44%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 16%, 81.9%, 26.3%)
CIE-LABlab(65.95, -0.91, 62.86)
CIE-LCHlch(65.95, 62.87, 90.83°)
OKLaboklab(70.63% -0.0099 0.1354)
OKLCHoklch(70.63% 0.136 94.2)
XYZxyz(33.2565, 35.2626, 6.5678)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E22 #2240BC
analogous
#BC5122 #BC9E22 #8DBC22
triadic
#BC9E22 #22BC9E #9E22BC
tetradic
#BC9E22 #22BC51 #2240BC #BC228D
square
#BC9E22 #22BC51 #2240BC #BC228D
split-complementary
#BC9E22 #228DBC #5122BC
monochromatic
#54470F #887219 #BC9E22 #DCBE3F #E6CF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC9E22#FFFFFF#000000##000000
##BC9E221.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)
#B7A42B
Tritanopia (blue-blind)
#CC9187
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e22;
/* rgb */ color: rgb(188, 158, 34);
/* oklch */ color: oklch(70.6% 0.136 94.2);
Tailwind
colors: {
  custom: {
    50: '#d5ba69',
    500: '#bc9e22',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e22;
$custom-light: #d5ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e22",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 48.312,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70625,
    "c": 0.13575,
    "h": 94.2
  },
  "luminance": 0.35261
}

Semantic roles & 50–950 ramp

primary
#BC9E22
secondary
#6D80CD
accent
#5EEC3C
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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