#B1BB31#B1BB31

#B1BB31 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.154 H 113.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B1BB31
RGBrgb(177, 187, 49)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 74%, 73%)
CMYKcmyk(5.3%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.96, -20.18, 64.09)
CIE-LCHlch(72.96, 67.19, 107.48°)
OKLaboklab(76% -0.062 0.1414)
OKLCHoklch(76% 0.154 113.7)
XYZxyz(36.4573, 45.1103, 9.6918)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BB31 #3B31BB
analogous
#BB8031 #B1BB31 #6CBB31
triadic
#B1BB31 #31B1BB #BB31B1
tetradic
#B1BB31 #31BB80 #3B31BB #BB316C
square
#B1BB31 #31BB80 #3B31BB #BB316C
split-complementary
#B1BB31 #316CBB #8031BB
monochromatic
#555A18 #838B24 #B1BB31 #CAD356 #D9E087

Accessibility & contrast

On white

2.10
#B1BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B1BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BB31
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BB31#FFFFFF#000000##000000
##B1BB311.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#BDB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b1bb31;
/* rgb */ color: rgb(177, 187, 49);
/* oklch */ color: oklch(76.0% 0.154 113.7);
Tailwind
colors: {
  custom: {
    50: '#cccf73',
    500: '#b1bb31',
    950: '#000000',
  },
}
SCSS
$custom: #b1bb31;
$custom-light: #cccf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bb31",
  "rgb": {
    "r": 177,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 64.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76002,
    "c": 0.15437,
    "h": 113.7
  },
  "luminance": 0.4511
}

Semantic roles & 50–950 ramp

primary
#B1BB31
secondary
#847FC9
accent
#46E251
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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