#B1BC31#B1BC31

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

Color values

HEX#B1BC31
RGBrgb(177, 188, 49)
HSLhsl(65, 59%, 46%)
HSVhsv(65, 74%, 74%)
CMYKcmyk(5.9%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.24, -20.68, 64.35)
CIE-LCHlch(73.24, 67.59, 107.81°)
OKLaboklab(76.22% -0.0634 0.1419)
OKLCHoklch(76.22% 0.155 114.1)
XYZxyz(36.6701, 45.5360, 9.7627)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BC31 #3C31BC
analogous
#BC8231 #B1BC31 #6CBC31
triadic
#B1BC31 #31B1BC #BC31B1
tetradic
#B1BC31 #31BC82 #3C31BC #BC316C
square
#B1BC31 #31BC82 #3C31BC #BC316C
split-complementary
#B1BC31 #316CBC #8231BC
monochromatic
#565B18 #838B24 #B1BC31 #C9D357 #D9E088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1BC31#FFFFFF#000000##000000
##B1BC311.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)
#CAB313
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#BDB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b1bc31;
/* rgb */ color: rgb(177, 188, 49);
/* oklch */ color: oklch(76.2% 0.155 114.1);
Tailwind
colors: {
  custom: {
    50: '#ccd074',
    500: '#b1bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b1bc31;
$custom-light: #ccd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bc31",
  "rgb": {
    "r": 177,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 64.748,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76225,
    "c": 0.15544,
    "h": 114.1
  },
  "luminance": 0.45535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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