#B4B132#B4B132

#B4B132 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.143 H 108.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B4B132
RGBrgb(180, 177, 50)
HSLhsl(59, 57%, 45%)
HSVhsv(59, 72%, 71%)
CMYKcmyk(0%, 1.7%, 72.2%, 29.4%)
CIE-LABlab(70.44, -13.79, 61.42)
CIE-LCHlch(70.44, 62.95, 102.66°)
OKLaboklab(74.04% -0.0443 0.1358)
OKLCHoklch(74.04% 0.143 108.1)
XYZxyz(35.1216, 41.3790, 9.1539)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B132 #3235B4
analogous
#B47032 #B4B132 #76B432
triadic
#B4B132 #32B4B1 #B132B4
tetradic
#B4B132 #32B470 #3235B4 #B43276
square
#B4B132 #32B470 #3235B4 #B43276
split-complementary
#B4B132 #3276B4 #7032B4
monochromatic
#545317 #848225 #B4B132 #CFCD54 #DDDB84

Accessibility & contrast

On white

2.26
#B4B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B4B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B132
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B132#FFFFFF#000000##000000
##B4B1321.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1A
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#C1A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b132;
/* rgb */ color: rgb(180, 177, 50);
/* oklch */ color: oklch(74.0% 0.143 108.1);
Tailwind
colors: {
  custom: {
    50: '#cec873',
    500: '#b4b132',
    950: '#000000',
  },
}
SCSS
$custom: #b4b132;
$custom-light: #cec873;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b132",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 58.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74044,
    "c": 0.14283,
    "h": 108.1
  },
  "luminance": 0.41378
}

Semantic roles & 50–950 ramp

primary
#B4B132
secondary
#7C7DC6
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B132

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

Preview Lab → · Contrast checker → · Palette generator →

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