#BCB838#BCB838

#BCB838 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.145 H 107.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#BCB838
RGBrgb(188, 184, 56)
HSLhsl(58, 54%, 48%)
HSVhsv(58, 70%, 74%)
CMYKcmyk(0%, 2.1%, 70.2%, 26.3%)
CIE-LABlab(73.06, -13.63, 62.01)
CIE-LCHlch(73.06, 63.49, 102.40°)
OKLaboklab(76.31% -0.0437 0.1378)
OKLCHoklch(76.31% 0.145 107.6)
XYZxyz(38.5948, 45.2591, 10.4435)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB838 #383CBC
analogous
#BC7638 #BCB838 #7EBC38
triadic
#BCB838 #38BCB8 #B838BC
tetradic
#BCB838 #38BC76 #383CBC #BC387E
square
#BCB838 #38BC76 #383CBC #BC387E
split-complementary
#BCB838 #387EBC #7638BC
monochromatic
#5E5C1C #8D8A2A #BCB838 #D0CD61 #DEDC90

Accessibility & contrast

On white

2.09
#BCB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#BCB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB838
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB838#FFFFFF#000000##000000
##BCB8381.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#CAAC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bcb838;
/* rgb */ color: rgb(188, 184, 56);
/* oklch */ color: oklch(76.3% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#d4cd77',
    500: '#bcb838',
    950: '#000000',
  },
}
SCSS
$custom: #bcb838;
$custom-light: #d4cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb838",
  "rgb": {
    "r": 188,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 58.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.14458,
    "h": 107.6
  },
  "luminance": 0.45258
}

Semantic roles & 50–950 ramp

primary
#BCB838
secondary
#8789C9
accent
#4FDD4A
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB838

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

Preview Lab → · Contrast checker → · Palette generator →

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