#B5B58C#B5B58C

#B5B58C is a light, muted yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.056 H 107.7°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B5B58C
RGBrgb(181, 181, 140)
HSLhsl(60, 22%, 63%)
HSVhsv(60, 23%, 71%)
CMYKcmyk(0%, 0%, 22.7%, 29%)
CIE-LABlab(72.74, -6.82, 20.97)
CIE-LCHlch(72.74, 22.05, 108.01°)
OKLaboklab(76.26% -0.0169 0.0532)
OKLCHoklch(76.26% 0.056 107.7)
XYZxyz(40.3134, 44.7655, 31.3228)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B58C #8C8CB5
analogous
#B5A08C #B5B58C #A0B58C
triadic
#B5B58C #8CB5B5 #B58CB5
tetradic
#B5B58C #8CB5A0 #8C8CB5 #B58CA0
square
#B5B58C #8CB5A0 #8C8CB5 #B58CA0
split-complementary
#B5B58C #8CA0B5 #A08CB5
monochromatic
#79794E #9D9D67 #B5B58C #CDCDB1 #E5E5D6

Accessibility & contrast

On white

2.11
#B5B58C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B5B58C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B58C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B58C#FFFFFF#000000##000000
##B5B58C1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCB189
Deuteranopia (green-blind)
#BDB38E
Tritanopia (blue-blind)
#BBB0AA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b58c;
/* rgb */ color: rgb(181, 181, 140);
/* oklch */ color: oklch(76.3% 0.056 107.7);
Tailwind
colors: {
  custom: {
    50: '#cbcbad',
    500: '#b5b58c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b58c;
$custom-light: #cbcbad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b58c",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 140
  },
  "hsl": {
    "h": 60,
    "s": 21.693,
    "l": 62.941
  },
  "oklch": {
    "l": 0.76256,
    "c": 0.05585,
    "h": 107.7
  },
  "luminance": 0.44765
}

Semantic roles & 50–950 ramp

primary
#B5B58C
secondary
#C7C7D6
accent
#45A045
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B5B58C

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

Preview Lab → · Contrast checker → · Palette generator →

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