#B4AB37#B4AB37

#B4AB37 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.134 H 104.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B4AB37
RGBrgb(180, 171, 55)
HSLhsl(56, 53%, 46%)
HSVhsv(56, 69%, 71%)
CMYKcmyk(0%, 5%, 69.4%, 29.4%)
CIE-LABlab(68.83, -10.44, 57.97)
CIE-LCHlch(68.83, 58.90, 100.21°)
OKLaboklab(72.77% -0.0343 0.1294)
OKLCHoklch(72.77% 0.134 104.9)
XYZxyz(34.0763, 39.1062, 9.3670)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB37 #3740B4
analogous
#B46C37 #B4AB37 #7EB437
triadic
#B4AB37 #37B4AB #AB37B4
tetradic
#B4AB37 #37B46C #3740B4 #B4377E
square
#B4AB37 #37B46C #3740B4 #B4377E
split-complementary
#B4AB37 #377EB4 #6C37B4
monochromatic
#56521A #857E29 #B4AB37 #CDC55B #DBD58A

Accessibility & contrast

On white

2.38
#B4AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B4AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB37
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB37#FFFFFF#000000##000000
##B4AB371.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA525
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab37;
/* rgb */ color: rgb(180, 171, 55);
/* oklch */ color: oklch(72.8% 0.134 104.9);
Tailwind
colors: {
  custom: {
    50: '#cec375',
    500: '#b4ab37',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab37;
$custom-light: #cec375;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab37",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 55.68,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.13386,
    "h": 104.9
  },
  "luminance": 0.39105
}

Semantic roles & 50–950 ramp

primary
#B4AB37
secondary
#8186C6
accent
#56DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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