#BC9F22#BC9F22

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

Color values

HEX#BC9F22
RGBrgb(188, 159, 34)
HSLhsl(49, 69%, 44%)
HSVhsv(49, 82%, 74%)
CMYKcmyk(0%, 15.4%, 81.9%, 26.3%)
CIE-LABlab(66.22, -1.45, 63.09)
CIE-LCHlch(66.22, 63.11, 91.32°)
OKLaboklab(70.83% -0.0114 0.1359)
OKLCHoklch(70.83% 0.136 94.8)
XYZxyz(33.4278, 35.6051, 6.6248)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9F22 #223FBC
analogous
#BC5222 #BC9F22 #8CBC22
triadic
#BC9F22 #22BC9F #9F22BC
tetradic
#BC9F22 #22BC52 #223FBC #BC228C
square
#BC9F22 #22BC52 #223FBC #BC228C
split-complementary
#BC9F22 #228CBC #5222BC
monochromatic
#54470F #887319 #BC9F22 #DCBF3F #E6D073

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC9F22#FFFFFF#000000##000000
##BC9F221.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: #bc9f22;
/* rgb */ color: rgb(188, 159, 34);
/* oklch */ color: oklch(70.8% 0.136 94.8);
Tailwind
colors: {
  custom: {
    50: '#d5ba6a',
    500: '#bc9f22',
    950: '#000000',
  },
}
SCSS
$custom: #bc9f22;
$custom-light: #d5ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9f22",
  "rgb": {
    "r": 188,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 48.701,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70834,
    "c": 0.13637,
    "h": 94.8
  },
  "luminance": 0.35603
}

Semantic roles & 50–950 ramp

primary
#BC9F22
secondary
#6D7FCD
accent
#5DEC3C
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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