#B4AB4D#B4AB4D

#B4AB4D is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.116 H 103.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B4AB4D
RGBrgb(180, 171, 77)
HSLhsl(55, 41%, 50%)
HSVhsv(55, 57%, 71%)
CMYKcmyk(0%, 5%, 57.2%, 29.4%)
CIE-LABlab(69.02, -9.00, 48.63)
CIE-LCHlch(69.02, 49.46, 100.49°)
OKLaboklab(72.98% -0.0278 0.1129)
OKLCHoklch(72.98% 0.116 103.8)
XYZxyz(34.7260, 39.3661, 12.7889)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB4D #4D56B4
analogous
#B4774D #B4AB4D #8AB44D
triadic
#B4AB4D #4DB4AB #AB4DB4
tetradic
#B4AB4D #4DB477 #4D56B4 #B44D8A
square
#B4AB4D #4DB477 #4D56B4 #B44D8A
split-complementary
#B4AB4D #4D8AB4 #774DB4
monochromatic
#5F5A28 #8A833A #B4AB4D #C6BF78 #D8D4A3

Accessibility & contrast

On white

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

On black

8.87
#B4AB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB4D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB4D#FFFFFF#000000##000000
##B4AB4D1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A643
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#C0A196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab4d;
/* rgb */ color: rgb(180, 171, 77);
/* oklch */ color: oklch(73.0% 0.116 103.8);
Tailwind
colors: {
  custom: {
    50: '#cdc382',
    500: '#b4ab4d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab4d;
$custom-light: #cdc382;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab4d",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 77
  },
  "hsl": {
    "h": 54.757,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.11622,
    "h": 103.8
  },
  "luminance": 0.39365
}

Semantic roles & 50–950 ramp

primary
#B4AB4D
secondary
#979BC5
accent
#62D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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