#BCB338#BCB338

#BCB338 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.140 H 105.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#BCB338
RGBrgb(188, 179, 56)
HSLhsl(56, 54%, 48%)
HSVhsv(56, 70%, 74%)
CMYKcmyk(0%, 4.8%, 70.2%, 26.3%)
CIE-LABlab(71.70, -11.07, 60.67)
CIE-LCHlch(71.70, 61.67, 100.34°)
OKLaboklab(75.23% -0.0365 0.135)
OKLCHoklch(75.23% 0.14 105.1)
XYZxyz(37.5745, 43.2185, 10.1034)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB338 #3841BC
analogous
#BC7138 #BCB338 #83BC38
triadic
#BCB338 #38BCB3 #B338BC
tetradic
#BCB338 #38BC71 #3841BC #BC3883
square
#BCB338 #38BC71 #3841BC #BC3883
split-complementary
#BCB338 #3883BC #7138BC
monochromatic
#5E591C #8D862A #BCB338 #D0C861 #DED990

Accessibility & contrast

On white

2.18
#BCB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#BCB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB338
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB338#FFFFFF#000000##000000
##BCB3381.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#CAA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bcb338;
/* rgb */ color: rgb(188, 179, 56);
/* oklch */ color: oklch(75.2% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#d4c976',
    500: '#bcb338',
    950: '#000000',
  },
}
SCSS
$custom: #bcb338;
$custom-light: #d4c976;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb338",
  "rgb": {
    "r": 188,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 55.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75226,
    "c": 0.13983,
    "h": 105.1
  },
  "luminance": 0.43217
}

Semantic roles & 50–950 ramp

primary
#BCB338
secondary
#878BC9
accent
#54DD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB338

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

Preview Lab → · Contrast checker → · Palette generator →

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