#B2BC26#B2BC26

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

Color values

HEX#B2BC26
RGBrgb(178, 188, 38)
HSLhsl(64, 66%, 44%)
HSVhsv(64, 80%, 74%)
CMYKcmyk(5.3%, 0%, 79.8%, 26.3%)
CIE-LABlab(73.27, -20.70, 67.78)
CIE-LCHlch(73.27, 70.87, 106.98°)
OKLaboklab(76.25% -0.0644 0.1472)
OKLCHoklch(76.25% 0.161 113.6)
XYZxyz(36.6944, 45.5722, 8.6967)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC26 #3026BC
analogous
#BC7B26 #B2BC26 #67BC26
triadic
#B2BC26 #26B2BC #BC26B2
tetradic
#B2BC26 #26BC7B #3026BC #BC2667
square
#B2BC26 #26BC7B #3026BC #BC2667
split-complementary
#B2BC26 #2667BC #7B26BC
monochromatic
#525611 #82891C #B2BC26 #D0DA46 #DDE479

Accessibility & contrast

On white

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

On black

10.11
#B2BC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC26
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC26#FFFFFF#000000##000000
##B2BC261.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#CAB535
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc26;
/* rgb */ color: rgb(178, 188, 38);
/* oklch */ color: oklch(76.2% 0.161 113.6);
Tailwind
colors: {
  custom: {
    50: '#cdd06f',
    500: '#b2bc26',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc26;
$custom-light: #cdd06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc26",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 38
  },
  "hsl": {
    "h": 64,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.16069,
    "h": 113.6
  },
  "luminance": 0.45571
}

Semantic roles & 50–950 ramp

primary
#B2BC26
secondary
#7872CC
accent
#3FE94A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2BC26

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

Preview Lab → · Contrast checker → · Palette generator →

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