#B4AB49#B4AB49

#B4AB49 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.120 H 104.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B4AB49
RGBrgb(180, 171, 73)
HSLhsl(55, 42%, 50%)
HSVhsv(55, 59%, 71%)
CMYKcmyk(0%, 5%, 59.4%, 29.4%)
CIE-LABlab(68.98, -9.30, 50.44)
CIE-LCHlch(68.98, 51.29, 100.45°)
OKLaboklab(72.94% -0.0291 0.1162)
OKLCHoklch(72.94% 0.12 104.1)
XYZxyz(34.5891, 39.3114, 12.0679)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB49 #4952B4
analogous
#B47549 #B4AB49 #88B449
triadic
#B4AB49 #49B4AB #AB49B4
tetradic
#B4AB49 #49B475 #4952B4 #B44988
square
#B4AB49 #49B475 #4952B4 #B44988
split-complementary
#B4AB49 #4988B4 #7549B4
monochromatic
#5D5826 #888237 #B4AB49 #C7C074 #D8D39F

Accessibility & contrast

On white

2.37
#B4AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B4AB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB49
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB49#FFFFFF#000000##000000
##B4AB491.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#C0A096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab49;
/* rgb */ color: rgb(180, 171, 73);
/* oklch */ color: oklch(72.9% 0.120 104.1);
Tailwind
colors: {
  custom: {
    50: '#cdc37f',
    500: '#b4ab49',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab49;
$custom-light: #cdc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab49",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 54.953,
    "s": 42.292,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72935,
    "c": 0.1198,
    "h": 104.1
  },
  "luminance": 0.3931
}

Semantic roles & 50–950 ramp

primary
#B4AB49
secondary
#9498C5
accent
#60D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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