#B4AB39#B4AB39

#B4AB39 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.132 H 104.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B4AB39
RGBrgb(180, 171, 57)
HSLhsl(56, 52%, 46%)
HSVhsv(56, 68%, 71%)
CMYKcmyk(0%, 5%, 68.3%, 29.4%)
CIE-LABlab(68.84, -10.33, 57.19)
CIE-LCHlch(68.84, 58.11, 100.24°)
OKLaboklab(72.79% -0.0338 0.1281)
OKLCHoklch(72.79% 0.132 104.8)
XYZxyz(34.1252, 39.1258, 9.6246)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB39 #3942B4
analogous
#B46E39 #B4AB39 #80B439
triadic
#B4AB39 #39B4AB #AB39B4
tetradic
#B4AB39 #39B46E #3942B4 #B43980
square
#B4AB39 #39B46E #3942B4 #B43980
split-complementary
#B4AB39 #3980B4 #6E39B4
monochromatic
#57531C #867F2A #B4AB39 #CCC45E #DBD58D

Accessibility & contrast

On white

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

On black

8.82
#B4AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB39
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB39#FFFFFF#000000##000000
##B4AB391.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ab39;
/* rgb */ color: rgb(180, 171, 57);
/* oklch */ color: oklch(72.8% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#cec376',
    500: '#b4ab39',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab39;
$custom-light: #cec376;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab39",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 55.61,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.13247,
    "h": 104.8
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#B4AB39
secondary
#8388C5
accent
#57DB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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