#B4AB32#B4AB32

#B4AB32 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.137 H 105.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B4AB32
RGBrgb(180, 171, 50)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 5%, 72.2%, 29.4%)
CIE-LABlab(68.80, -10.69, 59.83)
CIE-LCHlch(68.80, 60.78, 100.13°)
OKLaboklab(72.73% -0.0356 0.1324)
OKLCHoklch(72.73% 0.137 105)
XYZxyz(33.9624, 39.0607, 8.7675)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB32 #323BB4
analogous
#B46A32 #B4AB32 #7CB432
triadic
#B4AB32 #32B4AB #AB32B4
tetradic
#B4AB32 #32B46A #323BB4 #B4327C
square
#B4AB32 #32B46A #323BB4 #B4327C
split-complementary
#B4AB32 #327CB4 #6A32B4
monochromatic
#545017 #847D25 #B4AB32 #CFC754 #DDD784

Accessibility & contrast

On white

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

On black

8.81
#B4AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB32
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB32#FFFFFF#000000##000000
##B4AB321.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab32;
/* rgb */ color: rgb(180, 171, 50);
/* oklch */ color: oklch(72.7% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#cec372',
    500: '#b4ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab32;
$custom-light: #cec372;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab32",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 55.846,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72733,
    "c": 0.13713,
    "h": 105
  },
  "luminance": 0.39059
}

Semantic roles & 50–950 ramp

primary
#B4AB32
secondary
#7C81C6
accent
#53E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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