#B5AF87#B5AF87

#B5AF87 is a light, muted yellow. Relative luminance 0.422; OKLCH L 74.9% C 0.055 H 100.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B5AF87
RGBrgb(181, 175, 135)
HSLhsl(52, 24%, 62%)
HSVhsv(52, 25%, 71%)
CMYKcmyk(0%, 3.3%, 25.4%, 29%)
CIE-LABlab(71.03, -4.36, 21.34)
CIE-LCHlch(71.03, 21.78, 101.54°)
OKLaboklab(74.88% -0.01 0.0541)
OKLCHoklch(74.88% 0.055 100.5)
XYZxyz(38.7593, 42.2337, 29.0271)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AF87 #878DB5
analogous
#B59887 #B5AF87 #A4B587
triadic
#B5AF87 #87B5AF #AF87B5
tetradic
#B5AF87 #87B598 #878DB5 #B587A4
square
#B5AF87 #87B598 #878DB5 #B587A4
split-complementary
#B5AF87 #87A4B5 #9887B5
monochromatic
#78724A #9E9661 #B5AF87 #CCC8AD #E4E1D3

Accessibility & contrast

On white

2.22
#B5AF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B5AF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AF87
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AF87#FFFFFF#000000##000000
##B5AF871.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AC84
Deuteranopia (green-blind)
#B9AF88
Tritanopia (blue-blind)
#BCA9A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5af87;
/* rgb */ color: rgb(181, 175, 135);
/* oklch */ color: oklch(74.9% 0.055 100.5);
Tailwind
colors: {
  custom: {
    50: '#cbc6aa',
    500: '#b5af87',
    950: '#000000',
  },
}
SCSS
$custom: #b5af87;
$custom-light: #cbc6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b5af87",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 135
  },
  "hsl": {
    "h": 52.174,
    "s": 23.711,
    "l": 61.961
  },
  "oklch": {
    "l": 0.74875,
    "c": 0.05496,
    "h": 100.5
  },
  "luminance": 0.42233
}

Semantic roles & 50–950 ramp

primary
#B5AF87
secondary
#C3C6D4
accent
#50A243
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B5AF87

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

Preview Lab → · Contrast checker → · Palette generator →

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