#B5AB49#B5AB49

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

Color values

HEX#B5AB49
RGBrgb(181, 171, 73)
HSLhsl(54, 43%, 50%)
HSVhsv(54, 60%, 71%)
CMYKcmyk(0%, 5.5%, 59.7%, 29%)
CIE-LABlab(69.06, -8.87, 50.56)
CIE-LCHlch(69.06, 51.33, 99.95°)
OKLaboklab(73.02% -0.0279 0.1165)
OKLCHoklch(73.02% 0.12 103.5)
XYZxyz(34.8228, 39.4319, 12.0788)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB49 #4953B5
analogous
#B57549 #B5AB49 #89B549
triadic
#B5AB49 #49B5AB #AB49B5
tetradic
#B5AB49 #49B575 #4953B5 #B54989
square
#B5AB49 #49B575 #4953B5 #B54989
split-complementary
#B5AB49 #4989B5 #7549B5
monochromatic
#5E5926 #898237 #B5AB49 #C7BF74 #D9D3A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AB49#FFFFFF#000000##000000
##B5AB491.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)
#B9A63E
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#C2A096
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ab49;
/* rgb */ color: rgb(181, 171, 73);
/* oklch */ color: oklch(73.0% 0.120 103.5);
Tailwind
colors: {
  custom: {
    50: '#cec37f',
    500: '#b5ab49',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab49;
$custom-light: #cec37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab49",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 54.444,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73025,
    "c": 0.11976,
    "h": 103.5
  },
  "luminance": 0.39431
}

Semantic roles & 50–950 ramp

primary
#B5AB49
secondary
#9499C5
accent
#61D255
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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