#B5B18F#B5B18F

#B5B18F is a light, muted yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.047 H 101.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B5B18F
RGBrgb(181, 177, 143)
HSLhsl(54, 20%, 64%)
HSVhsv(54, 21%, 71%)
CMYKcmyk(0%, 2.2%, 21%, 29%)
CIE-LABlab(71.73, -4.26, 17.95)
CIE-LCHlch(71.73, 18.45, 103.35°)
OKLaboklab(75.48% -0.0096 0.0459)
OKLCHoklch(75.48% 0.047 101.9)
XYZxyz(39.7360, 43.2518, 32.2364)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B18F #8F93B5
analogous
#B59E8F #B5B18F #A6B58F
triadic
#B5B18F #8FB5B1 #B18FB5
tetradic
#B5B18F #8FB59E #8F93B5 #B58FA6
square
#B5B18F #8FB59E #8F93B5 #B58FA6
split-complementary
#B5B18F #8FA6B5 #9E8FB5
monochromatic
#797550 #9D976A #B5B18F #CDCBB4 #E6E4D9

Accessibility & contrast

On white

2.18
#B5B18F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B5B18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B18F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B18F#FFFFFF#000000##000000
##B5B18F1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AE8D
Deuteranopia (green-blind)
#B9B190
Tritanopia (blue-blind)
#BBACA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b18f;
/* rgb */ color: rgb(181, 177, 143);
/* oklch */ color: oklch(75.5% 0.047 101.9);
Tailwind
colors: {
  custom: {
    50: '#cbc8b0',
    500: '#b5b18f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b18f;
$custom-light: #cbc8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b18f",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 143
  },
  "hsl": {
    "h": 53.684,
    "s": 20.43,
    "l": 63.529
  },
  "oklch": {
    "l": 0.75475,
    "c": 0.04687,
    "h": 101.9
  },
  "luminance": 0.43251
}

Semantic roles & 50–950 ramp

primary
#B5B18F
secondary
#C9CBD7
accent
#509F47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B5B18F

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

Preview Lab → · Contrast checker → · Palette generator →

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