#BCB942#BCB942

#BCB942 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.6% C 0.139 H 107.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#BCB942
RGBrgb(188, 185, 66)
HSLhsl(59, 48%, 50%)
HSVhsv(59, 65%, 74%)
CMYKcmyk(0%, 1.6%, 64.9%, 26.3%)
CIE-LABlab(73.41, -13.59, 58.44)
CIE-LCHlch(73.41, 60.00, 103.09°)
OKLaboklab(76.61% -0.0425 0.132)
OKLCHoklch(76.61% 0.139 107.9)
XYZxyz(39.0727, 45.7838, 11.9322)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB942 #4245BC
analogous
#BC7C42 #BCB942 #82BC42
triadic
#BCB942 #42BCB9 #B942BC
tetradic
#BCB942 #42BC7C #4245BC #BC4282
square
#BCB942 #42BC7C #4245BC #BC4282
split-complementary
#BCB942 #4282BC #7C42BC
monochromatic
#616022 #8F8C32 #BCB942 #CCCA6F #DCDB9C

Accessibility & contrast

On white

2.07
#BCB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#BCB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB942
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB942#FFFFFF#000000##000000
##BCB9421.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#C9ADA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bcb942;
/* rgb */ color: rgb(188, 185, 66);
/* oklch */ color: oklch(76.6% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#d3cd7c',
    500: '#bcb942',
    950: '#000000',
  },
}
SCSS
$custom: #bcb942;
$custom-light: #d3cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb942",
  "rgb": {
    "r": 188,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 58.525,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76605,
    "c": 0.13864,
    "h": 107.9
  },
  "luminance": 0.45783
}

Semantic roles & 50–950 ramp

primary
#BCB942
secondary
#9193C9
accent
#54D850
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB942

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

Preview Lab → · Contrast checker → · Palette generator →

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