#B4B432#B4B432

#B4B432 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.146 H 109.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B4B432
RGBrgb(180, 180, 50)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0%, 0%, 72.2%, 29.4%)
CIE-LABlab(71.27, -15.33, 62.21)
CIE-LCHlch(71.27, 64.07, 103.84°)
OKLaboklab(74.7% -0.0486 0.1375)
OKLCHoklch(74.7% 0.146 109.5)
XYZxyz(35.7207, 42.5772, 9.3536)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B432 #3232B4
analogous
#B47332 #B4B432 #73B432
triadic
#B4B432 #32B4B4 #B432B4
tetradic
#B4B432 #32B473 #3232B4 #B43273
square
#B4B432 #32B473 #3232B4 #B43273
split-complementary
#B4B432 #3273B4 #7332B4
monochromatic
#545417 #848425 #B4B432 #CFCF54 #DDDD84

Accessibility & contrast

On white

2.21
#B4B432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B4B432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B432
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B432#FFFFFF#000000##000000
##B4B4321.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC19
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#C1A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b432;
/* rgb */ color: rgb(180, 180, 50);
/* oklch */ color: oklch(74.7% 0.146 109.5);
Tailwind
colors: {
  custom: {
    50: '#ceca73',
    500: '#b4b432',
    950: '#000000',
  },
}
SCSS
$custom: #b4b432;
$custom-light: #ceca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b432",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74704,
    "c": 0.14579,
    "h": 109.5
  },
  "luminance": 0.42576
}

Semantic roles & 50–950 ramp

primary
#B4B432
secondary
#7C7CC6
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B432

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

Preview Lab → · Contrast checker → · Palette generator →

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