#B2BC1D#B2BC1D

#B2BC1D is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.2% C 0.164 H 113.6°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B2BC1D
RGBrgb(178, 188, 29)
HSLhsl(64, 73%, 43%)
HSVhsv(64, 85%, 74%)
CMYKcmyk(5.3%, 0%, 84.6%, 26.3%)
CIE-LABlab(73.23, -20.98, 70.01)
CIE-LCHlch(73.23, 73.08, 106.68°)
OKLaboklab(76.21% -0.0658 0.1505)
OKLCHoklch(76.21% 0.164 113.6)
XYZxyz(36.5663, 45.5209, 8.0223)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC1D #271DBC
analogous
#BC771D #B2BC1D #62BC1D
triadic
#B2BC1D #1DB2BC #BC1DB2
tetradic
#B2BC1D #1DBC77 #271DBC #BC1D62
square
#B2BC1D #1DBC77 #271DBC #BC1D62
split-complementary
#B2BC1D #1D62BC #771DBC
monochromatic
#4E520D #808715 #B2BC1D #D5E036 #E0E86B

Accessibility & contrast

On white

2.08
#B2BC1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B2BC1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC1D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC1D#FFFFFF#000000##000000
##B2BC1D1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB200
Deuteranopia (green-blind)
#CAB52F
Tritanopia (blue-blind)
#BFB0A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc1d;
/* rgb */ color: rgb(178, 188, 29);
/* oklch */ color: oklch(76.2% 0.164 113.6);
Tailwind
colors: {
  custom: {
    50: '#cdd06b',
    500: '#b2bc1d',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc1d;
$custom-light: #cdd06b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc1d",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 29
  },
  "hsl": {
    "h": 63.774,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.16424,
    "h": 113.6
  },
  "luminance": 0.4552
}

Semantic roles & 50–950 ramp

primary
#B2BC1D
secondary
#6D67CE
accent
#38F043
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B2BC1D

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

Preview Lab → · Contrast checker → · Palette generator →

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