#B5BC31#B5BC31

#B5BC31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.154 H 112.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B5BC31
RGBrgb(181, 188, 49)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 74%)
CMYKcmyk(3.7%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.55, -18.98, 64.75)
CIE-LCHlch(73.55, 67.48, 106.34°)
OKLaboklab(76.55% -0.0589 0.1426)
OKLCHoklch(76.55% 0.154 112.4)
XYZxyz(37.5949, 46.0128, 9.8061)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC31 #3831BC
analogous
#BC7E31 #B5BC31 #6FBC31
triadic
#B5BC31 #31B5BC #BC31B5
tetradic
#B5BC31 #31BC7E #3831BC #BC316F
square
#B5BC31 #31BC7E #3831BC #BC316F
split-complementary
#B5BC31 #316FBC #7E31BC
monochromatic
#585B18 #868B24 #B5BC31 #CDD357 #DBE088

Accessibility & contrast

On white

2.06
#B5BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#B5BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC31
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC31#FFFFFF#000000##000000
##B5BC311.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#C1B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc31;
/* rgb */ color: rgb(181, 188, 49);
/* oklch */ color: oklch(76.6% 0.154 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfd074',
    500: '#b5bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc31;
$custom-light: #cfd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc31",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 63.022,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76551,
    "c": 0.15432,
    "h": 112.4
  },
  "luminance": 0.46012
}

Semantic roles & 50–950 ramp

primary
#B5BC31
secondary
#837FCA
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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