#BCB840#BCB840

#BCB840 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.4% C 0.139 H 107.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BCB840
RGBrgb(188, 184, 64)
HSLhsl(58, 49%, 49%)
HSVhsv(58, 66%, 74%)
CMYKcmyk(0%, 2.1%, 66%, 26.3%)
CIE-LABlab(73.12, -13.20, 58.96)
CIE-LCHlch(73.12, 60.41, 102.62°)
OKLaboklab(76.37% -0.0416 0.1327)
OKLCHoklch(76.37% 0.139 107.4)
XYZxyz(38.8063, 45.3438, 11.5575)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB840 #4044BC
analogous
#BC7A40 #BCB840 #82BC40
triadic
#BCB840 #40BCB8 #B840BC
tetradic
#BCB840 #40BC7A #4044BC #BC4082
square
#BCB840 #40BC7A #4044BC #BC4082
split-complementary
#BCB840 #4082BC #7A40BC
monochromatic
#615F21 #8E8B30 #BCB840 #CDCA6C #DDDA9A

Accessibility & contrast

On white

2.09
#BCB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BCB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB840
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB840#FFFFFF#000000##000000
##BCB8401.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#C9ACA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bcb840;
/* rgb */ color: rgb(188, 184, 64);
/* oklch */ color: oklch(76.4% 0.139 107.4);
Tailwind
colors: {
  custom: {
    50: '#d3cd7b',
    500: '#bcb840',
    950: '#000000',
  },
}
SCSS
$custom: #bcb840;
$custom-light: #d3cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb840",
  "rgb": {
    "r": 188,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 58.065,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76371,
    "c": 0.1391,
    "h": 107.4
  },
  "luminance": 0.45343
}

Semantic roles & 50–950 ramp

primary
#BCB840
secondary
#8F91C9
accent
#53D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB840

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

Preview Lab → · Contrast checker → · Palette generator →

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