#B4B327#B4B327

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

Color values

HEX#B4B327
RGBrgb(180, 179, 39)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 71%)
CMYKcmyk(0%, 0.6%, 78.3%, 29.4%)
CIE-LABlab(70.93, -15.28, 65.48)
CIE-LCHlch(70.93, 67.24, 103.13°)
OKLaboklab(74.42% -0.0494 0.1424)
OKLCHoklch(74.42% 0.151 109.1)
XYZxyz(35.3101, 42.0911, 8.1835)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B327 #2728B4
analogous
#B46C27 #B4B327 #6FB427
triadic
#B4B327 #27B4B3 #B327B4
tetradic
#B4B327 #27B46C #2728B4 #B4276F
square
#B4B327 #27B46C #2728B4 #B4276F
split-complementary
#B4B327 #276FB4 #6C27B4
monochromatic
#4F4F11 #82811C #B4B327 #D6D542 #E1E074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B327#FFFFFF#000000##000000
##B4B3271.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)
#C4B033
Tritanopia (blue-blind)
#C1A799
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b327;
/* rgb */ color: rgb(180, 179, 39);
/* oklch */ color: oklch(74.4% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#cec96e',
    500: '#b4b327',
    950: '#000000',
  },
}
SCSS
$custom: #b4b327;
$custom-light: #cec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b327",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 59.574,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74419,
    "c": 0.15073,
    "h": 109.1
  },
  "luminance": 0.4209
}

Semantic roles & 50–950 ramp

primary
#B4B327
secondary
#6F6FC8
accent
#42E740
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B327

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

Preview Lab → · Contrast checker → · Palette generator →

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