#BCB240#BCB240

#BCB240 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.133 H 104.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#BCB240
RGBrgb(188, 178, 64)
HSLhsl(55, 49%, 49%)
HSVhsv(55, 66%, 74%)
CMYKcmyk(0%, 5.3%, 66%, 26.3%)
CIE-LABlab(71.49, -10.11, 57.27)
CIE-LCHlch(71.49, 58.16, 100.01°)
OKLaboklab(75.08% -0.0329 0.1292)
OKLCHoklch(75.08% 0.133 104.3)
XYZxyz(37.5863, 42.9037, 11.1509)
Luminance0.4290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB240 #404ABC
analogous
#BC7440 #BCB240 #88BC40
triadic
#BCB240 #40BCB2 #B240BC
tetradic
#BCB240 #40BC74 #404ABC #BC4088
square
#BCB240 #40BC74 #404ABC #BC4088
split-complementary
#BCB240 #4088BC #7440BC
monochromatic
#615C21 #8E8730 #BCB240 #CDC56C #DDD79A

Accessibility & contrast

On white

2.19
#BCB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#BCB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB240
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB240#FFFFFF#000000##000000
##BCB2401.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#CAA69B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bcb240;
/* rgb */ color: rgb(188, 178, 64);
/* oklch */ color: oklch(75.1% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#d3c87b',
    500: '#bcb240',
    950: '#000000',
  },
}
SCSS
$custom: #bcb240;
$custom-light: #d3c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb240",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 55.161,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.1333,
    "h": 104.3
  },
  "luminance": 0.42902
}

Semantic roles & 50–950 ramp

primary
#BCB240
secondary
#8F94C9
accent
#5AD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB240

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

Preview Lab → · Contrast checker → · Palette generator →

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