#B3BB31#B3BB31

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

Color values

HEX#B3BB31
RGBrgb(179, 187, 49)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(4.3%, 0%, 73.8%, 26.7%)
CIE-LABlab(73.12, -19.33, 64.29)
CIE-LCHlch(73.12, 67.13, 106.73°)
OKLaboklab(76.16% -0.0598 0.1417)
OKLCHoklch(76.16% 0.154 112.9)
XYZxyz(36.9163, 45.3469, 9.7133)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BB31 #3931BB
analogous
#BB7E31 #B3BB31 #6EBB31
triadic
#B3BB31 #31B3BB #BB31B3
tetradic
#B3BB31 #31BB7E #3931BB #BB316E
square
#B3BB31 #31BB7E #3931BB #BB316E
split-complementary
#B3BB31 #316EBB #7E31BB
monochromatic
#565A18 #858B24 #B3BB31 #CCD356 #DAE087

Accessibility & contrast

On white

2.09
#B3BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B3BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BB31
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BB31#FFFFFF#000000##000000
##B3BB311.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3bb31;
/* rgb */ color: rgb(179, 187, 49);
/* oklch */ color: oklch(76.2% 0.154 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdcf74',
    500: '#b3bb31',
    950: '#000000',
  },
}
SCSS
$custom: #b3bb31;
$custom-light: #cdcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bb31",
  "rgb": {
    "r": 179,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 63.478,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76164,
    "c": 0.15381,
    "h": 112.9
  },
  "luminance": 0.45346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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