#B4B932#B4B932

#B4B932 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.151 H 111.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B4B932
RGBrgb(180, 185, 50)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 73%, 73%)
CMYKcmyk(2.7%, 0%, 73%, 27.5%)
CIE-LABlab(72.65, -17.86, 63.53)
CIE-LCHlch(72.65, 65.99, 105.70°)
OKLaboklab(75.81% -0.0556 0.1403)
OKLCHoklch(75.81% 0.151 111.6)
XYZxyz(36.7483, 44.6324, 9.6961)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B932 #3732B9
analogous
#B97A32 #B4B932 #70B932
triadic
#B4B932 #32B4B9 #B932B4
tetradic
#B4B932 #32B97A #3732B9 #B93270
square
#B4B932 #32B97A #3732B9 #B93270
split-complementary
#B4B932 #3270B9 #7A32B9
monochromatic
#565918 #858925 #B4B932 #CDD257 #DBDF87

Accessibility & contrast

On white

2.12
#B4B932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B4B932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B932
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B932#FFFFFF#000000##000000
##B4B9321.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B017
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C0AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b932;
/* rgb */ color: rgb(180, 185, 50);
/* oklch */ color: oklch(75.8% 0.151 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd74',
    500: '#b4b932',
    950: '#000000',
  },
}
SCSS
$custom: #b4b932;
$custom-light: #cecd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b932",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 62.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75809,
    "c": 0.15089,
    "h": 111.6
  },
  "luminance": 0.44632
}

Semantic roles & 50–950 ramp

primary
#B4B932
secondary
#817FC8
accent
#47E14D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B932

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

Preview Lab → · Contrast checker → · Palette generator →

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