#B4AB48#B4AB48

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

Color values

HEX#B4AB48
RGBrgb(180, 171, 72)
HSLhsl(55, 43%, 49%)
HSVhsv(55, 60%, 71%)
CMYKcmyk(0%, 5%, 60%, 29.4%)
CIE-LABlab(68.97, -9.37, 50.89)
CIE-LCHlch(68.97, 51.74, 100.44°)
OKLaboklab(72.92% -0.0294 0.117)
OKLCHoklch(72.92% 0.121 104.1)
XYZxyz(34.5562, 39.2982, 11.8947)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB48 #4851B4
analogous
#B47548 #B4AB48 #87B448
triadic
#B4AB48 #48B4AB #AB48B4
tetradic
#B4AB48 #48B475 #4851B4 #B44887
square
#B4AB48 #48B475 #4851B4 #B44887
split-complementary
#B4AB48 #4887B4 #7548B4
monochromatic
#5D5825 #888137 #B4AB48 #C7C072 #D8D39E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AB48#FFFFFF#000000##000000
##B4AB481.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)
#B9A63D
Deuteranopia (green-blind)
#BCAB4D
Tritanopia (blue-blind)
#C1A096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab48;
/* rgb */ color: rgb(180, 171, 72);
/* oklch */ color: oklch(72.9% 0.121 104.1);
Tailwind
colors: {
  custom: {
    50: '#cdc37f',
    500: '#b4ab48',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab48;
$custom-light: #cdc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab48",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 55,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72924,
    "c": 0.12068,
    "h": 104.1
  },
  "luminance": 0.39297
}

Semantic roles & 50–950 ramp

primary
#B4AB48
secondary
#9397C5
accent
#60D355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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