#B5AB6A#B5AB6A

#B5AB6A is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.086 H 100.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B5AB6A
RGBrgb(181, 171, 106)
HSLhsl(52, 34%, 56%)
HSVhsv(52, 41%, 71%)
CMYKcmyk(0%, 5.5%, 41.4%, 29%)
CIE-LABlab(69.46, -5.87, 34.72)
CIE-LCHlch(69.46, 35.22, 99.60°)
OKLaboklab(73.47% -0.0159 0.0846)
OKLCHoklch(73.47% 0.086 100.6)
XYZxyz(36.2212, 39.9912, 19.4439)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB6A #6A74B5
analogous
#B5866A #B5AB6A #9AB56A
triadic
#B5AB6A #6AB5AB #AB6AB5
tetradic
#B5AB6A #6AB586 #6A74B5 #B56A9A
square
#B5AB6A #6AB586 #6A74B5 #B56A9A
split-complementary
#B5AB6A #6A9AB5 #866AB5
monochromatic
#6E6737 #978D4B #B5AB6A #C9C293 #DED9BC

Accessibility & contrast

On white

2.33
#B5AB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B5AB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB6A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB6A#FFFFFF#000000##000000
##B5AB6A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A765
Deuteranopia (green-blind)
#B9AC6D
Tritanopia (blue-blind)
#BFA39B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ab6a;
/* rgb */ color: rgb(181, 171, 106);
/* oklch */ color: oklch(73.5% 0.086 100.6);
Tailwind
colors: {
  custom: {
    50: '#ccc395',
    500: '#b5ab6a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab6a;
$custom-light: #ccc395;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab6a",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 106
  },
  "hsl": {
    "h": 52,
    "s": 33.632,
    "l": 56.275
  },
  "oklch": {
    "l": 0.73472,
    "c": 0.08609,
    "h": 100.6
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#B5AB6A
secondary
#AEB2CD
accent
#6CCA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #B5AB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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