#B4BC31#B4BC31

#B4BC31 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.155 H 112.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B4BC31
RGBrgb(180, 188, 49)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 74%)
CMYKcmyk(4.3%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.48, -19.40, 64.65)
CIE-LCHlch(73.48, 67.50, 106.71°)
OKLaboklab(76.47% -0.06 0.1425)
OKLCHoklch(76.47% 0.155 112.9)
XYZxyz(37.3612, 45.8923, 9.7951)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC31 #3931BC
analogous
#BC7F31 #B4BC31 #6FBC31
triadic
#B4BC31 #31B4BC #BC31B4
tetradic
#B4BC31 #31BC7F #3931BC #BC316F
square
#B4BC31 #31BC7F #3931BC #BC316F
split-complementary
#B4BC31 #316FBC #7F31BC
monochromatic
#575B18 #868B24 #B4BC31 #CCD357 #DBE088

Accessibility & contrast

On white

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

On black

10.18
#B4BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC31
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC31#FFFFFF#000000##000000
##B4BC311.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bc31;
/* rgb */ color: rgb(180, 188, 49);
/* oklch */ color: oklch(76.5% 0.155 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced074',
    500: '#b4bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc31;
$custom-light: #ced074;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc31",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 63.453,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.15459,
    "h": 112.9
  },
  "luminance": 0.45891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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