#BCB242#BCB242

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

Color values

HEX#BCB242
RGBrgb(188, 178, 66)
HSLhsl(55, 48%, 50%)
HSVhsv(55, 65%, 74%)
CMYKcmyk(0%, 5.3%, 64.9%, 26.3%)
CIE-LABlab(71.51, -9.99, 56.45)
CIE-LCHlch(71.51, 57.33, 100.03°)
OKLaboklab(75.09% -0.0323 0.1278)
OKLCHoklch(75.09% 0.132 104.2)
XYZxyz(37.6442, 42.9269, 11.4560)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB242 #424CBC
analogous
#BC7542 #BCB242 #89BC42
triadic
#BCB242 #42BCB2 #B242BC
tetradic
#BCB242 #42BC75 #424CBC #BC4289
square
#BCB242 #42BC75 #424CBC #BC4289
split-complementary
#BCB242 #4289BC #7542BC
monochromatic
#615C22 #8F8732 #BCB242 #CCC56F #DCD79C

Accessibility & contrast

On white

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

On black

9.59
#BCB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB242
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB242#FFFFFF#000000##000000
##BCB2421.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcb242;
/* rgb */ color: rgb(188, 178, 66);
/* oklch */ color: oklch(75.1% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#d3c87c',
    500: '#bcb242',
    950: '#000000',
  },
}
SCSS
$custom: #bcb242;
$custom-light: #d3c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb242",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 55.082,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75092,
    "c": 0.13179,
    "h": 104.2
  },
  "luminance": 0.42926
}

Semantic roles & 50–950 ramp

primary
#BCB242
secondary
#9196C9
accent
#5BD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB242

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

Preview Lab → · Contrast checker → · Palette generator →

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