#B4B732#B4B732

#B4B732 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.149 H 110.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4B732
RGBrgb(180, 183, 50)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 73%, 72%)
CMYKcmyk(1.6%, 0%, 72.7%, 28.2%)
CIE-LABlab(72.10, -16.85, 63.00)
CIE-LCHlch(72.10, 65.22, 104.97°)
OKLaboklab(75.37% -0.0528 0.1391)
OKLCHoklch(75.37% 0.149 110.8)
XYZxyz(36.3328, 43.8015, 9.5576)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B732 #3532B7
analogous
#B77732 #B4B732 #72B732
triadic
#B4B732 #32B4B7 #B732B4
tetradic
#B4B732 #32B777 #3532B7 #B73272
square
#B4B732 #32B777 #3532B7 #B73272
split-complementary
#B4B732 #3272B7 #7732B7
monochromatic
#555718 #858725 #B4B732 #CED156 #DCDE86

Accessibility & contrast

On white

2.15
#B4B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B4B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B732
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B732#FFFFFF#000000##000000
##B4B7321.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF18
Deuteranopia (green-blind)
#C7B23C
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b732;
/* rgb */ color: rgb(180, 183, 50);
/* oklch */ color: oklch(75.4% 0.149 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc74',
    500: '#b4b732',
    950: '#000000',
  },
}
SCSS
$custom: #b4b732;
$custom-light: #cecc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b732",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 61.353,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75366,
    "c": 0.14884,
    "h": 110.8
  },
  "luminance": 0.43801
}

Semantic roles & 50–950 ramp

primary
#B4B732
secondary
#7F7DC7
accent
#47E04B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B732

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

Preview Lab → · Contrast checker → · Palette generator →

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