#B4AB36#B4AB36

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

Color values

HEX#B4AB36
RGBrgb(180, 171, 54)
HSLhsl(56, 54%, 46%)
HSVhsv(56, 70%, 71%)
CMYKcmyk(0%, 5%, 70%, 29.4%)
CIE-LABlab(68.82, -10.49, 58.35)
CIE-LCHlch(68.82, 59.28, 100.19°)
OKLaboklab(72.76% -0.0346 0.13)
OKLCHoklch(72.76% 0.135 104.9)
XYZxyz(34.0525, 39.0967, 9.2420)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB36 #363FB4
analogous
#B46C36 #B4AB36 #7EB436
triadic
#B4AB36 #36B4AB #AB36B4
tetradic
#B4AB36 #36B46C #363FB4 #B4367E
square
#B4AB36 #36B46C #363FB4 #B4367E
split-complementary
#B4AB36 #367EB4 #6C36B4
monochromatic
#56521A #857E28 #B4AB36 #CDC55A #DCD689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AB36#FFFFFF#000000##000000
##B4AB361.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)
#BAA524
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab36;
/* rgb */ color: rgb(180, 171, 54);
/* oklch */ color: oklch(72.8% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#cec374',
    500: '#b4ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab36;
$custom-light: #cec374;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab36",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 55.714,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72762,
    "c": 0.13454,
    "h": 104.9
  },
  "luminance": 0.39095
}

Semantic roles & 50–950 ramp

primary
#B4AB36
secondary
#8085C6
accent
#55DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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