#BCB223#BCB223

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

Color values

HEX#BCB223
RGBrgb(188, 178, 35)
HSLhsl(56, 69%, 44%)
HSVhsv(56, 81%, 74%)
CMYKcmyk(0%, 5.3%, 81.4%, 26.3%)
CIE-LABlab(71.32, -11.41, 67.22)
CIE-LCHlch(71.32, 68.18, 99.64°)
OKLaboklab(74.89% -0.0393 0.1451)
OKLCHoklch(74.89% 0.15 105.2)
XYZxyz(36.9645, 42.6550, 7.8759)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB223 #232DBC
analogous
#BC6523 #BCB223 #79BC23
triadic
#BCB223 #23BCB2 #B223BC
tetradic
#BCB223 #23BC65 #232DBC #BC2379
square
#BCB223 #23BC65 #232DBC #BC2379
split-complementary
#BCB223 #2379BC #6523BC
monochromatic
#555010 #888119 #BCB223 #DCD141 #E5DE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCB223#FFFFFF#000000##000000
##BCB2231.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)
#C6B130
Tritanopia (blue-blind)
#CBA598
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bcb223;
/* rgb */ color: rgb(188, 178, 35);
/* oklch */ color: oklch(74.9% 0.150 105.2);
Tailwind
colors: {
  custom: {
    50: '#d4c86c',
    500: '#bcb223',
    950: '#000000',
  },
}
SCSS
$custom: #bcb223;
$custom-light: #d4c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb223",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 56.078,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74886,
    "c": 0.15029,
    "h": 105.2
  },
  "luminance": 0.42654
}

Semantic roles & 50–950 ramp

primary
#BCB223
secondary
#6F75CC
accent
#48EB3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BCB223

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

Preview Lab → · Contrast checker → · Palette generator →

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