#B3BC31#B3BC31

#B3BC31 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.155 H 113.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B3BC31
RGBrgb(179, 188, 49)
HSLhsl(64, 59%, 46%)
HSVhsv(64, 74%, 74%)
CMYKcmyk(4.8%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.40, -19.83, 64.55)
CIE-LCHlch(73.40, 67.53, 107.08°)
OKLaboklab(76.39% -0.0612 0.1423)
OKLCHoklch(76.39% 0.155 113.3)
XYZxyz(37.1292, 45.7727, 9.7843)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BC31 #3A31BC
analogous
#BC8031 #B3BC31 #6EBC31
triadic
#B3BC31 #31B3BC #BC31B3
tetradic
#B3BC31 #31BC80 #3A31BC #BC316E
square
#B3BC31 #31BC80 #3A31BC #BC316E
split-complementary
#B3BC31 #316EBC #8031BC
monochromatic
#575B18 #858B24 #B3BC31 #CBD357 #DAE088

Accessibility & contrast

On white

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

On black

10.15
#B3BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BC31
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BC31#FFFFFF#000000##000000
##B3BC311.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3bc31;
/* rgb */ color: rgb(179, 188, 49);
/* oklch */ color: oklch(76.4% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#cdd074',
    500: '#b3bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b3bc31;
$custom-light: #cdd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bc31",
  "rgb": {
    "r": 179,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 63.885,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76387,
    "c": 0.15486,
    "h": 113.3
  },
  "luminance": 0.45772
}

Semantic roles & 50–950 ramp

primary
#B3BC31
secondary
#847FCA
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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