#BCBC22#BCBC22

#BCBC22 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.160 H 109.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#BCBC22
RGBrgb(188, 188, 34)
HSLhsl(60, 69%, 44%)
HSVhsv(60, 82%, 74%)
CMYKcmyk(0%, 0%, 81.9%, 26.3%)
CIE-LABlab(74.05, -16.54, 69.82)
CIE-LCHlch(74.05, 71.75, 103.33°)
OKLaboklab(77.06% -0.0537 0.1505)
OKLCHoklch(77.06% 0.16 109.6)
XYZxyz(39.0125, 46.7745, 8.4864)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCBC22 #2222BC
analogous
#BC6F22 #BCBC22 #6FBC22
triadic
#BCBC22 #22BCBC #BC22BC
tetradic
#BCBC22 #22BC6F #2222BC #BC226F
square
#BCBC22 #22BC6F #2222BC #BC226F
split-complementary
#BCBC22 #226FBC #6F22BC
monochromatic
#54540F #888819 #BCBC22 #DCDC3F #E6E673

Accessibility & contrast

On white

2.03
#BCBC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#BCBC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCBC22
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCBC22#FFFFFF#000000##000000
##BCBC221.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CEB831
Tritanopia (blue-blind)
#CAAFA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bcbc22;
/* rgb */ color: rgb(188, 188, 34);
/* oklch */ color: oklch(77.1% 0.160 109.6);
Tailwind
colors: {
  custom: {
    50: '#d4cf6d',
    500: '#bcbc22',
    950: '#000000',
  },
}
SCSS
$custom: #bcbc22;
$custom-light: #d4cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bcbc22",
  "rgb": {
    "r": 188,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77059,
    "c": 0.15977,
    "h": 109.6
  },
  "luminance": 0.46773
}

Semantic roles & 50–950 ramp

primary
#BCBC22
secondary
#6D6DCD
accent
#3CEC3C
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BCBC22

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

Preview Lab → · Contrast checker → · Palette generator →

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