#B4BB31#B4BB31

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

Color values

HEX#B4BB31
RGBrgb(180, 187, 49)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.7%, 0%, 73.8%, 26.7%)
CIE-LABlab(73.20, -18.90, 64.39)
CIE-LCHlch(73.20, 67.11, 106.36°)
OKLaboklab(76.25% -0.0587 0.1419)
OKLCHoklch(76.25% 0.154 112.5)
XYZxyz(37.1483, 45.4666, 9.7242)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB31 #3831BB
analogous
#BB7D31 #B4BB31 #6FBB31
triadic
#B4BB31 #31B4BB #BB31B4
tetradic
#B4BB31 #31BB7D #3831BB #BB316F
square
#B4BB31 #31BB7D #3831BB #BB316F
split-complementary
#B4BB31 #316FBB #7D31BB
monochromatic
#575A18 #858B24 #B4BB31 #CDD356 #DBE087

Accessibility & contrast

On white

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

On black

10.09
#B4BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB31
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB31#FFFFFF#000000##000000
##B4BB311.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb31;
/* rgb */ color: rgb(180, 187, 49);
/* oklch */ color: oklch(76.2% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf74',
    500: '#b4bb31',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb31;
$custom-light: #cecf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb31",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 63.043,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.15354,
    "h": 112.5
  },
  "luminance": 0.45466
}

Semantic roles & 50–950 ramp

primary
#B4BB31
secondary
#827FC9
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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