#B4AB52#B4AB52

#B4AB52 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.112 H 103.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B4AB52
RGBrgb(180, 171, 82)
HSLhsl(54, 40%, 51%)
HSVhsv(54, 54%, 71%)
CMYKcmyk(0%, 5%, 54.4%, 29.4%)
CIE-LABlab(69.07, -8.60, 46.32)
CIE-LCHlch(69.07, 47.11, 100.52°)
OKLaboklab(73.04% -0.0261 0.1084)
OKLCHoklch(73.04% 0.112 103.5)
XYZxyz(34.9094, 39.4395, 13.7547)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB52 #525BB4
analogous
#B47A52 #B4AB52 #8CB452
triadic
#B4AB52 #52B4AB #AB52B4
tetradic
#B4AB52 #52B47A #525BB4 #B4528C
square
#B4AB52 #52B47A #525BB4 #B4528C
split-complementary
#B4AB52 #528CB4 #7A52B4
monochromatic
#615C2A #8C853D #B4AB52 #C7C07D #D9D4A7

Accessibility & contrast

On white

2.36
#B4AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B4AB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB52
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB52#FFFFFF#000000##000000
##B4AB521.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#BBAB56
Tritanopia (blue-blind)
#C0A197
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ab52;
/* rgb */ color: rgb(180, 171, 82);
/* oklch */ color: oklch(73.0% 0.112 103.5);
Tailwind
colors: {
  custom: {
    50: '#cdc385',
    500: '#b4ab52',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab52;
$custom-light: #cdc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab52",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 54.49,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.11152,
    "h": 103.5
  },
  "luminance": 0.39438
}

Semantic roles & 50–950 ramp

primary
#B4AB52
secondary
#9B9FC7
accent
#63CF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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