#BCBC28#BCBC28

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

Color values

HEX#BCBC28
RGBrgb(188, 188, 40)
HSLhsl(60, 65%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0%, 0%, 78.7%, 26.3%)
CIE-LABlab(74.07, -16.35, 68.23)
CIE-LCHlch(74.07, 70.16, 103.47°)
OKLaboklab(77.09% -0.0527 0.1481)
OKLCHoklch(77.09% 0.157 109.6)
XYZxyz(39.1068, 46.8122, 8.9827)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCBC28 #2828BC
analogous
#BC7228 #BCBC28 #72BC28
triadic
#BCBC28 #28BCBC #BC28BC
tetradic
#BCBC28 #28BC72 #2828BC #BC2872
square
#BCBC28 #28BC72 #2828BC #BC2872
split-complementary
#BCBC28 #2872BC #7228BC
monochromatic
#575713 #8A8A1D #BCBC28 #D8D849 #E3E37B

Accessibility & contrast

On white

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

On black

10.36
#BCBC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCBC28
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCBC28#FFFFFF#000000##000000
##BCBC281.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcbc28;
/* rgb */ color: rgb(188, 188, 40);
/* oklch */ color: oklch(77.1% 0.157 109.6);
Tailwind
colors: {
  custom: {
    50: '#d4cf70',
    500: '#bcbc28',
    950: '#000000',
  },
}
SCSS
$custom: #bcbc28;
$custom-light: #d4cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bcbc28",
  "rgb": {
    "r": 188,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77086,
    "c": 0.15723,
    "h": 109.6
  },
  "luminance": 0.46811
}

Semantic roles & 50–950 ramp

primary
#BCBC28
secondary
#7575CB
accent
#40E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BCBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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