#B4AB3D#B4AB3D

#B4AB3D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.130 H 104.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B4AB3D
RGBrgb(180, 171, 61)
HSLhsl(55, 49%, 47%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 5%, 66.1%, 29.4%)
CIE-LABlab(68.87, -10.10, 55.58)
CIE-LCHlch(68.87, 56.49, 100.30°)
OKLaboklab(72.82% -0.0327 0.1254)
OKLCHoklch(72.82% 0.13 104.6)
XYZxyz(34.2289, 39.1673, 10.1710)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB3D #3D46B4
analogous
#B46F3D #B4AB3D #82B43D
triadic
#B4AB3D #3DB4AB #AB3DB4
tetradic
#B4AB3D #3DB46F #3D46B4 #B43D82
square
#B4AB3D #3DB46F #3D46B4 #B43D82
split-complementary
#B4AB3D #3D82B4 #6F3DB4
monochromatic
#59541E #86802E #B4AB3D #CAC364 #DAD492

Accessibility & contrast

On white

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

On black

8.83
#B4AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB3D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB3D#FFFFFF#000000##000000
##B4AB3D1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52E
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab3d;
/* rgb */ color: rgb(180, 171, 61);
/* oklch */ color: oklch(72.8% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#cec378',
    500: '#b4ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab3d;
$custom-light: #cec378;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab3d",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 55.462,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.12956,
    "h": 104.6
  },
  "luminance": 0.39166
}

Semantic roles & 50–950 ramp

primary
#B4AB3D
secondary
#888CC5
accent
#59D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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