#BCB842#BCB842

#BCB842 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.4% C 0.138 H 107.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BCB842
RGBrgb(188, 184, 66)
HSLhsl(58, 48%, 50%)
HSVhsv(58, 65%, 74%)
CMYKcmyk(0%, 2.1%, 64.9%, 26.3%)
CIE-LABlab(73.13, -13.08, 58.16)
CIE-LCHlch(73.13, 59.61, 102.68°)
OKLaboklab(76.39% -0.0411 0.1314)
OKLCHoklch(76.39% 0.138 107.4)
XYZxyz(38.8642, 45.3669, 11.8627)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB842 #4246BC
analogous
#BC7B42 #BCB842 #83BC42
triadic
#BCB842 #42BCB8 #B842BC
tetradic
#BCB842 #42BC7B #4246BC #BC4283
square
#BCB842 #42BC7B #4246BC #BC4283
split-complementary
#BCB842 #4283BC #7B42BC
monochromatic
#615F22 #8F8C32 #BCB842 #CCC96F #DCDA9C

Accessibility & contrast

On white

2.08
#BCB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BCB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB842
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB842#FFFFFF#000000##000000
##BCB8421.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#C9ACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bcb842;
/* rgb */ color: rgb(188, 184, 66);
/* oklch */ color: oklch(76.4% 0.138 107.4);
Tailwind
colors: {
  custom: {
    50: '#d3cd7c',
    500: '#bcb842',
    950: '#000000',
  },
}
SCSS
$custom: #bcb842;
$custom-light: #d3cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb842",
  "rgb": {
    "r": 188,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 58.033,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.13763,
    "h": 107.4
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#BCB842
secondary
#9193C9
accent
#55D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB842

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

Preview Lab → · Contrast checker → · Palette generator →

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