#BCB538#BCB538

#BCB538 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.142 H 106.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BCB538
RGBrgb(188, 181, 56)
HSLhsl(57, 54%, 48%)
HSVhsv(57, 70%, 74%)
CMYKcmyk(0%, 3.7%, 70.2%, 26.3%)
CIE-LABlab(72.25, -12.10, 61.20)
CIE-LCHlch(72.25, 62.39, 101.18°)
OKLaboklab(75.66% -0.0394 0.1361)
OKLCHoklch(75.66% 0.142 106.1)
XYZxyz(37.9782, 44.0260, 10.2380)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB538 #383FBC
analogous
#BC7338 #BCB538 #81BC38
triadic
#BCB538 #38BCB5 #B538BC
tetradic
#BCB538 #38BC73 #383FBC #BC3881
square
#BCB538 #38BC73 #383FBC #BC3881
split-complementary
#BCB538 #3881BC #7338BC
monochromatic
#5E5A1C #8D882A #BCB538 #D0CA61 #DEDA90

Accessibility & contrast

On white

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

On black

9.80
#BCB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB538
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB538#FFFFFF#000000##000000
##BCB5381.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#CAA99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bcb538;
/* rgb */ color: rgb(188, 181, 56);
/* oklch */ color: oklch(75.7% 0.142 106.1);
Tailwind
colors: {
  custom: {
    50: '#d4ca77',
    500: '#bcb538',
    950: '#000000',
  },
}
SCSS
$custom: #bcb538;
$custom-light: #d4ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb538",
  "rgb": {
    "r": 188,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 56.818,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75659,
    "c": 0.1417,
    "h": 106.1
  },
  "luminance": 0.44025
}

Semantic roles & 50–950 ramp

primary
#BCB538
secondary
#878AC9
accent
#52DD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB538

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

Preview Lab → · Contrast checker → · Palette generator →

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