#B5AB46#B5AB46

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

Color values

HEX#B5AB46
RGBrgb(181, 171, 70)
HSLhsl(55, 44%, 49%)
HSVhsv(55, 61%, 71%)
CMYKcmyk(0%, 5.5%, 61.3%, 29%)
CIE-LABlab(69.03, -9.09, 51.89)
CIE-LCHlch(69.03, 52.68, 99.93°)
OKLaboklab(72.99% -0.0289 0.1189)
OKLCHoklch(72.99% 0.122 103.7)
XYZxyz(34.7257, 39.3930, 11.5676)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB46 #4650B5
analogous
#B57446 #B5AB46 #88B546
triadic
#B5AB46 #46B5AB #AB46B5
tetradic
#B5AB46 #46B574 #4650B5 #B54688
square
#B5AB46 #46B574 #4650B5 #B54688
split-complementary
#B5AB46 #4688B5 #7446B5
monochromatic
#5D5824 #898135 #B5AB46 #C8C070 #D9D39C

Accessibility & contrast

On white

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

On black

8.88
#B5AB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB46
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB46#FFFFFF#000000##000000
##B5AB461.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ab46;
/* rgb */ color: rgb(181, 171, 70);
/* oklch */ color: oklch(73.0% 0.122 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec37e',
    500: '#b5ab46',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab46;
$custom-light: #cec37e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab46",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 54.595,
    "s": 44.223,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.12233,
    "h": 103.7
  },
  "luminance": 0.39392
}

Semantic roles & 50–950 ramp

primary
#B5AB46
secondary
#9296C5
accent
#5FD454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AB46

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

Preview Lab → · Contrast checker → · Palette generator →

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