#BCB542#BCB542

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

Color values

HEX#BCB542
RGBrgb(188, 181, 66)
HSLhsl(57, 48%, 50%)
HSVhsv(57, 65%, 74%)
CMYKcmyk(0%, 3.7%, 64.9%, 26.3%)
CIE-LABlab(72.32, -11.54, 57.30)
CIE-LCHlch(72.32, 58.46, 101.39°)
OKLaboklab(75.74% -0.0367 0.1296)
OKLCHoklch(75.74% 0.135 105.8)
XYZxyz(38.2477, 44.1338, 11.6571)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB542 #4249BC
analogous
#BC7842 #BCB542 #86BC42
triadic
#BCB542 #42BCB5 #B542BC
tetradic
#BCB542 #42BC78 #4249BC #BC4286
square
#BCB542 #42BC78 #4249BC #BC4286
split-complementary
#BCB542 #4286BC #7842BC
monochromatic
#615E22 #8F8932 #BCB542 #CCC76F #DCD99C

Accessibility & contrast

On white

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

On black

9.83
#BCB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB542
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB542#FFFFFF#000000##000000
##BCB5421.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcb542;
/* rgb */ color: rgb(188, 181, 66);
/* oklch */ color: oklch(75.7% 0.135 105.8);
Tailwind
colors: {
  custom: {
    50: '#d3ca7c',
    500: '#bcb542',
    950: '#000000',
  },
}
SCSS
$custom: #bcb542;
$custom-light: #d3ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb542",
  "rgb": {
    "r": 188,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 56.557,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.13467,
    "h": 105.8
  },
  "luminance": 0.44132
}

Semantic roles & 50–950 ramp

primary
#BCB542
secondary
#9194C9
accent
#58D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB542

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

Preview Lab → · Contrast checker → · Palette generator →

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