#B5B38F#B5B38F

#B5B38F is a light, muted yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.049 H 104.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B5B38F
RGBrgb(181, 179, 143)
HSLhsl(57, 20%, 64%)
HSVhsv(57, 21%, 71%)
CMYKcmyk(0%, 1.1%, 21%, 29%)
CIE-LABlab(72.26, -5.32, 18.69)
CIE-LCHlch(72.26, 19.43, 105.89°)
OKLaboklab(75.9% -0.0127 0.0477)
OKLCHoklch(75.9% 0.049 104.9)
XYZxyz(40.1339, 44.0477, 32.3691)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B38F #8F91B5
analogous
#B5A08F #B5B38F #A4B58F
triadic
#B5B38F #8FB5B3 #B38FB5
tetradic
#B5B38F #8FB5A0 #8F91B5 #B58FA4
square
#B5B38F #8FB5A0 #8F91B5 #B58FA4
split-complementary
#B5B38F #8FA4B5 #A08FB5
monochromatic
#797750 #9D9A6A #B5B38F #CDCCB4 #E6E5D9

Accessibility & contrast

On white

2.14
#B5B38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#B5B38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B38F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B38F#FFFFFF#000000##000000
##B5B38F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAB08D
Deuteranopia (green-blind)
#BBB290
Tritanopia (blue-blind)
#BBAEA9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b38f;
/* rgb */ color: rgb(181, 179, 143);
/* oklch */ color: oklch(75.9% 0.049 104.9);
Tailwind
colors: {
  custom: {
    50: '#cbc9b0',
    500: '#b5b38f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b38f;
$custom-light: #cbc9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b38f",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 143
  },
  "hsl": {
    "h": 56.842,
    "s": 20.43,
    "l": 63.529
  },
  "oklch": {
    "l": 0.75898,
    "c": 0.04934,
    "h": 104.9
  },
  "luminance": 0.44047
}

Semantic roles & 50–950 ramp

primary
#B5B38F
secondary
#C9CAD7
accent
#4B9F47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B5B38F

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

Preview Lab → · Contrast checker → · Palette generator →

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