#B4B332#B4B332

#B4B332 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.145 H 109.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B4B332
RGBrgb(180, 179, 50)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0%, 0.6%, 72.2%, 29.4%)
CIE-LABlab(70.99, -14.82, 61.95)
CIE-LCHlch(70.99, 63.70, 103.45°)
OKLaboklab(74.48% -0.0472 0.1369)
OKLCHoklch(74.48% 0.145 109)
XYZxyz(35.5195, 42.1749, 9.2865)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B332 #3233B4
analogous
#B47232 #B4B332 #74B432
triadic
#B4B332 #32B4B3 #B332B4
tetradic
#B4B332 #32B472 #3233B4 #B43274
square
#B4B332 #32B472 #3233B4 #B43274
split-complementary
#B4B332 #3274B4 #7232B4
monochromatic
#545417 #848325 #B4B332 #CFCE54 #DDDC84

Accessibility & contrast

On white

2.23
#B4B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B4B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B332
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B332#FFFFFF#000000##000000
##B4B3321.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB1A
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b332;
/* rgb */ color: rgb(180, 179, 50);
/* oklch */ color: oklch(74.5% 0.145 109.0);
Tailwind
colors: {
  custom: {
    50: '#cec973',
    500: '#b4b332',
    950: '#000000',
  },
}
SCSS
$custom: #b4b332;
$custom-light: #cec973;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b332",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 59.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74484,
    "c": 0.1448,
    "h": 109
  },
  "luminance": 0.42174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B332

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

Preview Lab → · Contrast checker → · Palette generator →

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