#B5AB76#B5AB76

#B5AB76 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.072 H 98.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B5AB76
RGBrgb(181, 171, 118)
HSLhsl(50, 30%, 59%)
HSVhsv(50, 35%, 71%)
CMYKcmyk(0%, 5.5%, 34.8%, 29%)
CIE-LABlab(69.65, -4.48, 28.63)
CIE-LCHlch(69.65, 28.98, 98.89°)
OKLaboklab(73.68% -0.011 0.0711)
OKLCHoklch(73.68% 0.072 98.8)
XYZxyz(36.8895, 40.2586, 22.9635)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB76 #7680B5
analogous
#B58B76 #B5AB76 #9FB576
triadic
#B5AB76 #76B5AB #AB76B5
tetradic
#B5AB76 #76B58B #7680B5 #B5769F
square
#B5AB76 #76B58B #7680B5 #B5769F
split-complementary
#B5AB76 #769FB5 #8B76B5
monochromatic
#736A3E #9A8F53 #B5AB76 #CAC39E #E0DCC5

Accessibility & contrast

On white

2.32
#B5AB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B5AB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB76
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB76#FFFFFF#000000##000000
##B5AB761.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A872
Deuteranopia (green-blind)
#B8AC78
Tritanopia (blue-blind)
#BEA49D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ab76;
/* rgb */ color: rgb(181, 171, 118);
/* oklch */ color: oklch(73.7% 0.072 98.8);
Tailwind
colors: {
  custom: {
    50: '#ccc39e',
    500: '#b5ab76',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab76;
$custom-light: #ccc39e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab76",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 118
  },
  "hsl": {
    "h": 50.476,
    "s": 29.858,
    "l": 58.627
  },
  "oklch": {
    "l": 0.73684,
    "c": 0.07189,
    "h": 98.8
  },
  "luminance": 0.40258
}

Semantic roles & 50–950 ramp

primary
#B5AB76
secondary
#B7BBD0
accent
#72C662
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B5AB76

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

Preview Lab → · Contrast checker → · Palette generator →

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