#B2BC31#B2BC31

#B2BC31 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.155 H 113.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B2BC31
RGBrgb(178, 188, 49)
HSLhsl(64, 59%, 46%)
HSVhsv(64, 74%, 74%)
CMYKcmyk(5.3%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.32, -20.25, 64.45)
CIE-LCHlch(73.32, 67.56, 107.44°)
OKLaboklab(76.31% -0.0623 0.1421)
OKLCHoklch(76.31% 0.155 113.7)
XYZxyz(36.8988, 45.6539, 9.7735)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC31 #3B31BC
analogous
#BC8131 #B2BC31 #6CBC31
triadic
#B2BC31 #31B2BC #BC31B2
tetradic
#B2BC31 #31BC81 #3B31BC #BC316C
square
#B2BC31 #31BC81 #3B31BC #BC316C
split-complementary
#B2BC31 #316CBC #8131BC
monochromatic
#565B18 #848B24 #B2BC31 #CAD357 #DAE088

Accessibility & contrast

On white

2.07
#B2BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B2BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC31
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC31#FFFFFF#000000##000000
##B2BC311.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#BEB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc31;
/* rgb */ color: rgb(178, 188, 49);
/* oklch */ color: oklch(76.3% 0.155 113.7);
Tailwind
colors: {
  custom: {
    50: '#cdd074',
    500: '#b2bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc31;
$custom-light: #cdd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc31",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 64.317,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76306,
    "c": 0.15515,
    "h": 113.7
  },
  "luminance": 0.45653
}

Semantic roles & 50–950 ramp

primary
#B2BC31
secondary
#857FCA
accent
#46E251
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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