#BCB222#BCB222

#BCB222 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.151 H 105.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#BCB222
RGBrgb(188, 178, 34)
HSLhsl(56, 69%, 44%)
HSVhsv(56, 82%, 74%)
CMYKcmyk(0%, 5.3%, 81.9%, 26.3%)
CIE-LABlab(71.32, -11.45, 67.49)
CIE-LCHlch(71.32, 68.45, 99.63°)
OKLaboklab(74.88% -0.0395 0.1454)
OKLCHoklch(74.88% 0.151 105.2)
XYZxyz(36.9498, 42.6491, 7.7989)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB222 #222CBC
analogous
#BC6522 #BCB222 #79BC22
triadic
#BCB222 #22BCB2 #B222BC
tetradic
#BCB222 #22BC65 #222CBC #BC2279
square
#BCB222 #22BC65 #222CBC #BC2279
split-complementary
#BCB222 #2279BC #6522BC
monochromatic
#54500F #888119 #BCB222 #DCD23F #E6DE73

Accessibility & contrast

On white

2.20
#BCB222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#BCB222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB222
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB222#FFFFFF#000000##000000
##BCB2221.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C6B12F
Tritanopia (blue-blind)
#CBA598
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bcb222;
/* rgb */ color: rgb(188, 178, 34);
/* oklch */ color: oklch(74.9% 0.151 105.2);
Tailwind
colors: {
  custom: {
    50: '#d4c86c',
    500: '#bcb222',
    950: '#000000',
  },
}
SCSS
$custom: #bcb222;
$custom-light: #d4c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb222",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 34
  },
  "hsl": {
    "h": 56.104,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.15071,
    "h": 105.2
  },
  "luminance": 0.42648
}

Semantic roles & 50–950 ramp

primary
#BCB222
secondary
#6D73CD
accent
#47EC3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BCB222

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

Preview Lab → · Contrast checker → · Palette generator →

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