#BCB845#BCB845

#BCB845 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.4% C 0.135 H 107.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BCB845
RGBrgb(188, 184, 69)
HSLhsl(58, 47%, 50%)
HSVhsv(58, 63%, 74%)
CMYKcmyk(0%, 2.1%, 63.3%, 26.3%)
CIE-LABlab(73.16, -12.89, 56.93)
CIE-LCHlch(73.16, 58.37, 102.76°)
OKLaboklab(76.42% -0.0402 0.1292)
OKLCHoklch(76.42% 0.135 107.3)
XYZxyz(38.9550, 45.4032, 12.3408)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB845 #4549BC
analogous
#BC7C45 #BCB845 #85BC45
triadic
#BCB845 #45BCB8 #B845BC
tetradic
#BCB845 #45BC7C #4549BC #BC4585
square
#BCB845 #45BC7C #4549BC #BC4585
split-complementary
#BCB845 #4585BC #7C45BC
monochromatic
#636124 #908D34 #BCB845 #CCC972 #DCDA9F

Accessibility & contrast

On white

2.08
#BCB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BCB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB845
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB845#FFFFFF#000000##000000
##BCB8451.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#C9ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bcb845;
/* rgb */ color: rgb(188, 184, 69);
/* oklch */ color: oklch(76.4% 0.135 107.3);
Tailwind
colors: {
  custom: {
    50: '#d3cd7e',
    500: '#bcb845',
    950: '#000000',
  },
}
SCSS
$custom: #bcb845;
$custom-light: #d3cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb845",
  "rgb": {
    "r": 188,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 57.983,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76415,
    "c": 0.13534,
    "h": 107.3
  },
  "luminance": 0.45402
}

Semantic roles & 50–950 ramp

primary
#BCB845
secondary
#9496C9
accent
#56D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB845

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

Preview Lab → · Contrast checker → · Palette generator →

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