#BCB040#BCB040

#BCB040 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.131 H 103.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BCB040
RGBrgb(188, 176, 64)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 74%)
CMYKcmyk(0%, 6.4%, 66%, 26.3%)
CIE-LABlab(70.95, -9.07, 56.71)
CIE-LCHlch(70.95, 57.43, 99.09°)
OKLaboklab(74.65% -0.03 0.128)
OKLCHoklch(74.65% 0.131 103.2)
XYZxyz(37.1913, 42.1137, 11.0192)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB040 #404CBC
analogous
#BC7240 #BCB040 #8ABC40
triadic
#BCB040 #40BCB0 #B040BC
tetradic
#BCB040 #40BC72 #404CBC #BC408A
square
#BCB040 #40BC72 #404CBC #BC408A
split-complementary
#BCB040 #408ABC #7240BC
monochromatic
#615B21 #8E8530 #BCB040 #CDC46C #DDD69A

Accessibility & contrast

On white

2.23
#BCB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#BCB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB040
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB040#FFFFFF#000000##000000
##BCB0401.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#CAA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bcb040;
/* rgb */ color: rgb(188, 176, 64);
/* oklch */ color: oklch(74.6% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#d3c77b',
    500: '#bcb040',
    950: '#000000',
  },
}
SCSS
$custom: #bcb040;
$custom-light: #d3c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb040",
  "rgb": {
    "r": 188,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 54.194,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74645,
    "c": 0.13145,
    "h": 103.2
  },
  "luminance": 0.42112
}

Semantic roles & 50–950 ramp

primary
#BCB040
secondary
#8F95C9
accent
#5CD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB040

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

Preview Lab → · Contrast checker → · Palette generator →

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