#B4AB41#B4AB41

#B4AB41 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.126 H 104.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B4AB41
RGBrgb(180, 171, 65)
HSLhsl(55, 47%, 48%)
HSVhsv(55, 64%, 71%)
CMYKcmyk(0%, 5%, 63.9%, 29.4%)
CIE-LABlab(68.90, -9.85, 53.92)
CIE-LCHlch(68.90, 54.81, 100.35°)
OKLaboklab(72.86% -0.0316 0.1225)
OKLCHoklch(72.86% 0.126 104.5)
XYZxyz(34.3407, 39.2120, 10.7598)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB41 #414AB4
analogous
#B47141 #B4AB41 #84B441
triadic
#B4AB41 #41B4AB #AB41B4
tetradic
#B4AB41 #41B471 #414AB4 #B44184
square
#B4AB41 #41B471 #414AB4 #B44184
split-complementary
#B4AB41 #4184B4 #7141B4
monochromatic
#5A5621 #878031 #B4AB41 #C9C169 #D9D496

Accessibility & contrast

On white

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

On black

8.84
#B4AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB41
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB41#FFFFFF#000000##000000
##B4AB411.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BDAA47
Tritanopia (blue-blind)
#C1A095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab41;
/* rgb */ color: rgb(180, 171, 65);
/* oklch */ color: oklch(72.9% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc37b',
    500: '#b4ab41',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab41;
$custom-light: #cdc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab41",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 55.304,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72855,
    "c": 0.12648,
    "h": 104.5
  },
  "luminance": 0.39211
}

Semantic roles & 50–950 ramp

primary
#B4AB41
secondary
#8C90C5
accent
#5CD751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B4AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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