#B4AB33#B4AB33

#B4AB33 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.136 H 105.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B4AB33
RGBrgb(180, 171, 51)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 5%, 71.7%, 29.4%)
CIE-LABlab(68.80, -10.64, 59.47)
CIE-LCHlch(68.80, 60.41, 100.15°)
OKLaboklab(72.74% -0.0353 0.1318)
OKLCHoklch(72.74% 0.136 105)
XYZxyz(33.9842, 39.0694, 8.8824)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB33 #333CB4
analogous
#B46A33 #B4AB33 #7CB433
triadic
#B4AB33 #33B4AB #AB33B4
tetradic
#B4AB33 #33B46A #333CB4 #B4337C
square
#B4AB33 #33B46A #333CB4 #B4337C
split-complementary
#B4AB33 #337CB4 #6A33B4
monochromatic
#555018 #847E25 #B4AB33 #CFC655 #DCD685

Accessibility & contrast

On white

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

On black

8.81
#B4AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB33
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB33#FFFFFF#000000##000000
##B4AB331.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab33;
/* rgb */ color: rgb(180, 171, 51);
/* oklch */ color: oklch(72.7% 0.136 105.0);
Tailwind
colors: {
  custom: {
    50: '#cec373',
    500: '#b4ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab33;
$custom-light: #cec373;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab33",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 55.814,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7274,
    "c": 0.13649,
    "h": 105
  },
  "luminance": 0.39068
}

Semantic roles & 50–950 ramp

primary
#B4AB33
secondary
#7D82C6
accent
#53DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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