#B5B398#B5B398

#B5B398 is a light, muted yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.037 H 103.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B5B398
RGBrgb(181, 179, 152)
HSLhsl(56, 16%, 65%)
HSVhsv(56, 16%, 71%)
CMYKcmyk(0%, 1.1%, 16%, 29%)
CIE-LABlab(72.45, -3.94, 14.07)
CIE-LCHlch(72.45, 14.61, 105.64°)
OKLaboklab(76.11% -0.0089 0.0363)
OKLCHoklch(76.11% 0.037 103.8)
XYZxyz(40.8432, 44.3314, 36.1049)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B398 #989AB5
analogous
#B5A498 #B5B398 #A8B598
triadic
#B5B398 #98B5B3 #B398B5
tetradic
#B5B398 #98B5A4 #989AB5 #B598A8
square
#B5B398 #98B5A4 #989AB5 #B598A8
split-complementary
#B5B398 #98A8B5 #A498B5
monochromatic
#7B7858 #9B9974 #B5B398 #CFCDBC #E8E8DF

Accessibility & contrast

On white

2.13
#B5B398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B5B398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B398
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B398#FFFFFF#000000##000000
##B5B3981.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8B196
Deuteranopia (green-blind)
#B9B299
Tritanopia (blue-blind)
#BAAFAB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b398;
/* rgb */ color: rgb(181, 179, 152);
/* oklch */ color: oklch(76.1% 0.037 103.8);
Tailwind
colors: {
  custom: {
    50: '#cbc9b6',
    500: '#b5b398',
    950: '#000000',
  },
}
SCSS
$custom: #b5b398;
$custom-light: #cbc9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b398",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 152
  },
  "hsl": {
    "h": 55.862,
    "s": 16.384,
    "l": 65.294
  },
  "oklch": {
    "l": 0.7611,
    "c": 0.03734,
    "h": 103.8
  },
  "luminance": 0.44331
}

Semantic roles & 50–950 ramp

primary
#B5B398
secondary
#D0D0D9
accent
#509B4B
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #B5B398

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

Preview Lab → · Contrast checker → · Palette generator →

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