#B4AB2C#B4AB2C

#B4AB2C is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.141 H 105.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B4AB2C
RGBrgb(180, 171, 44)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 5%, 75.6%, 29.4%)
CIE-LABlab(68.76, -10.96, 61.92)
CIE-LCHlch(68.76, 62.88, 100.04°)
OKLaboklab(72.69% -0.0369 0.1357)
OKLCHoklch(72.69% 0.141 105.2)
XYZxyz(33.8414, 39.0123, 8.1299)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB2C #2C35B4
analogous
#B4672C #B4AB2C #79B42C
triadic
#B4AB2C #2CB4AB #AB2CB4
tetradic
#B4AB2C #2CB467 #2C35B4 #B42C79
square
#B4AB2C #2CB467 #2C35B4 #B42C79
split-complementary
#B4AB2C #2C79B4 #672CB4
monochromatic
#524E14 #837C20 #B4AB2C #D3CA4A #DFD87C

Accessibility & contrast

On white

2.39
#B4AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B4AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB2C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB2C#FFFFFF#000000##000000
##B4AB2C1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA510
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#C29F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab2c;
/* rgb */ color: rgb(180, 171, 44);
/* oklch */ color: oklch(72.7% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec36f',
    500: '#b4ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab2c;
$custom-light: #cec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab2c",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 56.029,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72694,
    "c": 0.14067,
    "h": 105.2
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

primary
#B4AB2C
secondary
#757AC7
accent
#4FE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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