#BCB540#BCB540

#BCB540 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.136 H 105.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BCB540
RGBrgb(188, 181, 64)
HSLhsl(57, 49%, 49%)
HSVhsv(57, 66%, 74%)
CMYKcmyk(0%, 3.7%, 66%, 26.3%)
CIE-LABlab(72.30, -11.66, 58.11)
CIE-LCHlch(72.30, 59.27, 101.34°)
OKLaboklab(75.72% -0.0373 0.131)
OKLCHoklch(75.72% 0.136 105.9)
XYZxyz(38.1897, 44.1106, 11.3520)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB540 #4047BC
analogous
#BC7740 #BCB540 #85BC40
triadic
#BCB540 #40BCB5 #B540BC
tetradic
#BCB540 #40BC77 #4047BC #BC4085
square
#BCB540 #40BC77 #4047BC #BC4085
split-complementary
#BCB540 #4085BC #7740BC
monochromatic
#615D21 #8E8930 #BCB540 #CDC86C #DDD99A

Accessibility & contrast

On white

2.14
#BCB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BCB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB540
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB540#FFFFFF#000000##000000
##BCB5401.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#C9A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bcb540;
/* rgb */ color: rgb(188, 181, 64);
/* oklch */ color: oklch(75.7% 0.136 105.9);
Tailwind
colors: {
  custom: {
    50: '#d3ca7b',
    500: '#bcb540',
    950: '#000000',
  },
}
SCSS
$custom: #bcb540;
$custom-light: #d3ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb540",
  "rgb": {
    "r": 188,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 56.613,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75722,
    "c": 0.13616,
    "h": 105.9
  },
  "luminance": 0.44109
}

Semantic roles & 50–950 ramp

primary
#BCB540
secondary
#8F93C9
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB540

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

Preview Lab → · Contrast checker → · Palette generator →

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