#BCB340#BCB340

#BCB340 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.134 H 104.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BCB340
RGBrgb(188, 179, 64)
HSLhsl(56, 49%, 49%)
HSVhsv(56, 66%, 74%)
CMYKcmyk(0%, 4.8%, 66%, 26.3%)
CIE-LABlab(71.76, -10.63, 57.55)
CIE-LCHlch(71.76, 58.53, 100.46°)
OKLaboklab(75.29% -0.0344 0.1298)
OKLCHoklch(75.29% 0.134 104.8)
XYZxyz(37.7860, 43.3031, 11.2174)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB340 #4049BC
analogous
#BC7540 #BCB340 #87BC40
triadic
#BCB340 #40BCB3 #B340BC
tetradic
#BCB340 #40BC75 #4049BC #BC4087
square
#BCB340 #40BC75 #4049BC #BC4087
split-complementary
#BCB340 #4087BC #7540BC
monochromatic
#615C21 #8E8830 #BCB340 #CDC66C #DDD89A

Accessibility & contrast

On white

2.17
#BCB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BCB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB340
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB340#FFFFFF#000000##000000
##BCB3401.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#CAA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bcb340;
/* rgb */ color: rgb(188, 179, 64);
/* oklch */ color: oklch(75.3% 0.134 104.8);
Tailwind
colors: {
  custom: {
    50: '#d3c97b',
    500: '#bcb340',
    950: '#000000',
  },
}
SCSS
$custom: #bcb340;
$custom-light: #d3c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb340",
  "rgb": {
    "r": 188,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 55.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7529,
    "c": 0.13425,
    "h": 104.8
  },
  "luminance": 0.43302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BCB340

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

Preview Lab → · Contrast checker → · Palette generator →

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