#BCB23B#BCB23B

#BCB23B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.137 H 104.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#BCB23B
RGBrgb(188, 178, 59)
HSLhsl(55, 52%, 48%)
HSVhsv(55, 69%, 74%)
CMYKcmyk(0%, 5.3%, 68.6%, 26.3%)
CIE-LABlab(71.45, -10.39, 59.26)
CIE-LCHlch(71.45, 60.16, 99.95°)
OKLaboklab(75.03% -0.0343 0.1325)
OKLCHoklch(75.03% 0.137 104.5)
XYZxyz(37.4503, 42.8494, 10.4349)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB23B #3B45BC
analogous
#BC713B #BCB23B #85BC3B
triadic
#BCB23B #3BBCB2 #B23BBC
tetradic
#BCB23B #3BBC71 #3B45BC #BC3B85
square
#BCB23B #3BBC71 #3B45BC #BC3B85
split-complementary
#BCB23B #3B85BC #713BBC
monochromatic
#5F5A1E #8D862C #BCB23B #CFC765 #DDD894

Accessibility & contrast

On white

2.19
#BCB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#BCB23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB23B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB23B#FFFFFF#000000##000000
##BCB23B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC29
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#CAA69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bcb23b;
/* rgb */ color: rgb(188, 178, 59);
/* oklch */ color: oklch(75.0% 0.137 104.5);
Tailwind
colors: {
  custom: {
    50: '#d3c878',
    500: '#bcb23b',
    950: '#000000',
  },
}
SCSS
$custom: #bcb23b;
$custom-light: #d3c878;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb23b",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 55.349,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.13689,
    "h": 104.5
  },
  "luminance": 0.42848
}

Semantic roles & 50–950 ramp

primary
#BCB23B
secondary
#8A8FC9
accent
#57DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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