#B4B328#B4B328

#B4B328 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.150 H 109.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B4B328
RGBrgb(180, 179, 40)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 71%)
CMYKcmyk(0%, 0.6%, 77.8%, 29.4%)
CIE-LABlab(70.94, -15.24, 65.19)
CIE-LCHlch(70.94, 66.95, 103.16°)
OKLaboklab(74.43% -0.0492 0.142)
OKLCHoklch(74.43% 0.15 109.1)
XYZxyz(35.3269, 42.0978, 8.2719)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B328 #2829B4
analogous
#B46D28 #B4B328 #6FB428
triadic
#B4B328 #28B4B3 #B328B4
tetradic
#B4B328 #28B46D #2829B4 #B4286F
square
#B4B328 #28B46D #2829B4 #B4286F
split-complementary
#B4B328 #286FB4 #6D28B4
monochromatic
#504F12 #82811D #B4B328 #D5D444 #E1E076

Accessibility & contrast

On white

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

On black

9.42
#B4B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B328
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B328#FFFFFF#000000##000000
##B4B3281.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C4B034
Tritanopia (blue-blind)
#C1A799
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b328;
/* rgb */ color: rgb(180, 179, 40);
/* oklch */ color: oklch(74.4% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#cec96e',
    500: '#b4b328',
    950: '#000000',
  },
}
SCSS
$custom: #b4b328;
$custom-light: #cec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b328",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 59.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.15025,
    "h": 109.1
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#B4B328
secondary
#7070C8
accent
#42E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B328

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

Preview Lab → · Contrast checker → · Palette generator →

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