#BCB122#BCB122

#BCB122 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.150 H 104.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BCB122
RGBrgb(188, 177, 34)
HSLhsl(56, 69%, 44%)
HSVhsv(56, 82%, 74%)
CMYKcmyk(0%, 5.9%, 81.9%, 26.3%)
CIE-LABlab(71.04, -10.93, 67.25)
CIE-LCHlch(71.04, 68.14, 99.23°)
OKLaboklab(74.67% -0.0381 0.1449)
OKLCHoklch(74.67% 0.15 104.7)
XYZxyz(36.7516, 42.2527, 7.7328)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB122 #222DBC
analogous
#BC6422 #BCB122 #7ABC22
triadic
#BCB122 #22BCB1 #B122BC
tetradic
#BCB122 #22BC64 #222DBC #BC227A
square
#BCB122 #22BC64 #222DBC #BC227A
split-complementary
#BCB122 #227ABC #6422BC
monochromatic
#544F0F #888019 #BCB122 #DCD13F #E6DD73

Accessibility & contrast

On white

2.22
#BCB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BCB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB122
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB122#FFFFFF#000000##000000
##BCB1221.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C5B12F
Tritanopia (blue-blind)
#CBA497
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bcb122;
/* rgb */ color: rgb(188, 177, 34);
/* oklch */ color: oklch(74.7% 0.150 104.7);
Tailwind
colors: {
  custom: {
    50: '#d4c76c',
    500: '#bcb122',
    950: '#000000',
  },
}
SCSS
$custom: #bcb122;
$custom-light: #d4c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb122",
  "rgb": {
    "r": 188,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 55.714,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74665,
    "c": 0.14984,
    "h": 104.7
  },
  "luminance": 0.42251
}

Semantic roles & 50–950 ramp

primary
#BCB122
secondary
#6D74CD
accent
#48EC3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BCB122

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

Preview Lab → · Contrast checker → · Palette generator →

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