#BCB334#BCB334

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

Color values

HEX#BCB334
RGBrgb(188, 179, 52)
HSLhsl(56, 57%, 47%)
HSVhsv(56, 72%, 74%)
CMYKcmyk(0%, 4.8%, 72.3%, 26.3%)
CIE-LABlab(71.68, -11.26, 62.13)
CIE-LCHlch(71.68, 63.14, 100.28°)
OKLaboklab(75.2% -0.0374 0.1374)
OKLCHoklch(75.2% 0.142 105.2)
XYZxyz(37.4805, 43.1809, 9.6086)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB334 #343DBC
analogous
#BC6F34 #BCB334 #81BC34
triadic
#BCB334 #34BCB3 #B334BC
tetradic
#BCB334 #34BC6F #343DBC #BC3481
square
#BCB334 #34BC6F #343DBC #BC3481
split-complementary
#BCB334 #3481BC #6F34BC
monochromatic
#5C5819 #8C8527 #BCB334 #D2CA5B #DFD98B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCB334#FFFFFF#000000##000000
##BCB3341.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)
#C3AD1D
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#CAA79A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bcb334;
/* rgb */ color: rgb(188, 179, 52);
/* oklch */ color: oklch(75.2% 0.142 105.2);
Tailwind
colors: {
  custom: {
    50: '#d4c974',
    500: '#bcb334',
    950: '#000000',
  },
}
SCSS
$custom: #bcb334;
$custom-light: #d4c974;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb334",
  "rgb": {
    "r": 188,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 56.029,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75198,
    "c": 0.14237,
    "h": 105.2
  },
  "luminance": 0.43179
}

Semantic roles & 50–950 ramp

primary
#BCB334
secondary
#8387C9
accent
#52E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB334

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

Preview Lab → · Contrast checker → · Palette generator →

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