#B5AB44#B5AB44

#B5AB44 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.124 H 103.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B5AB44
RGBrgb(181, 171, 68)
HSLhsl(55, 45%, 49%)
HSVhsv(55, 62%, 71%)
CMYKcmyk(0%, 5.5%, 62.4%, 29%)
CIE-LABlab(69.02, -9.22, 52.76)
CIE-LCHlch(69.02, 53.56, 99.92°)
OKLaboklab(72.97% -0.0295 0.1204)
OKLCHoklch(72.97% 0.124 103.8)
XYZxyz(34.6636, 39.3682, 11.2406)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB44 #444EB5
analogous
#B57344 #B5AB44 #87B544
triadic
#B5AB44 #44B5AB #AB44B5
tetradic
#B5AB44 #44B573 #444EB5 #B54487
square
#B5AB44 #44B573 #444EB5 #B54487
split-complementary
#B5AB44 #4487B5 #7344B5
monochromatic
#5C5723 #898133 #B5AB44 #C8C06E #D9D49A

Accessibility & contrast

On white

2.37
#B5AB44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B5AB44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB44
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB44#FFFFFF#000000##000000
##B5AB441.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A638
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#C2A095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5ab44;
/* rgb */ color: rgb(181, 171, 68);
/* oklch */ color: oklch(73.0% 0.124 103.8);
Tailwind
colors: {
  custom: {
    50: '#cec37c',
    500: '#b5ab44',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab44;
$custom-light: #cec37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab44",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 68
  },
  "hsl": {
    "h": 54.69,
    "s": 45.382,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.124,
    "h": 103.8
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#B5AB44
secondary
#9094C5
accent
#5ED553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AB44

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

Preview Lab → · Contrast checker → · Palette generator →

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