#B4B532#B4B532

#B4B532 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.147 H 109.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B4B532
RGBrgb(180, 181, 50)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0.6%, 0%, 72.4%, 29%)
CIE-LABlab(71.54, -15.83, 62.48)
CIE-LCHlch(71.54, 64.45, 104.22°)
OKLaboklab(74.92% -0.05 0.138)
OKLCHoklch(74.92% 0.147 109.9)
XYZxyz(35.9233, 42.9824, 9.4211)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B532 #3332B5
analogous
#B57432 #B4B532 #72B532
triadic
#B4B532 #32B4B5 #B532B4
tetradic
#B4B532 #32B574 #3332B5 #B53272
square
#B4B532 #32B574 #3332B5 #B53272
split-complementary
#B4B532 #3272B5 #7432B5
monochromatic
#555518 #848525 #B4B532 #CFD054 #DCDD84

Accessibility & contrast

On white

2.19
#B4B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B4B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B532
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B532#FFFFFF#000000##000000
##B4B5321.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD19
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#C1A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b532;
/* rgb */ color: rgb(180, 181, 50);
/* oklch */ color: oklch(74.9% 0.147 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca73',
    500: '#b4b532',
    950: '#000000',
  },
}
SCSS
$custom: #b4b532;
$custom-light: #ceca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b532",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 60.458,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.1468,
    "h": 109.9
  },
  "luminance": 0.42981
}

Semantic roles & 50–950 ramp

primary
#B4B532
secondary
#7D7CC7
accent
#48E049
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B532

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

Preview Lab → · Contrast checker → · Palette generator →

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