#B9B571#B9B571

#B9B571 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.1% C 0.089 H 105.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B9B571
RGBrgb(185, 181, 113)
HSLhsl(57, 34%, 58%)
HSVhsv(57, 39%, 73%)
CMYKcmyk(0%, 2.2%, 38.9%, 27.5%)
CIE-LABlab(72.60, -8.72, 35.15)
CIE-LCHlch(72.60, 36.22, 103.93°)
OKLaboklab(76.07% -0.0237 0.0859)
OKLCHoklch(76.07% 0.089 105.4)
XYZxyz(39.5127, 44.5552, 22.1382)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B571 #7175B9
analogous
#B99171 #B9B571 #99B971
triadic
#B9B571 #71B9B5 #B571B9
tetradic
#B9B571 #71B991 #7175B9 #B97199
square
#B9B571 #71B991 #7175B9 #B97199
split-complementary
#B9B571 #7199B9 #9171B9
monochromatic
#76723A #9F9A4E #B9B571 #CDCA9A #E1E0C3

Accessibility & contrast

On white

2.12
#B9B571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B9B571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B571
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B571#FFFFFF#000000##000000
##B9B5711.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C2B474
Tritanopia (blue-blind)
#C3ADA4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b571;
/* rgb */ color: rgb(185, 181, 113);
/* oklch */ color: oklch(76.1% 0.089 105.4);
Tailwind
colors: {
  custom: {
    50: '#cfcb9b',
    500: '#b9b571',
    950: '#000000',
  },
}
SCSS
$custom: #b9b571;
$custom-light: #cfcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b571",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 113
  },
  "hsl": {
    "h": 56.667,
    "s": 33.962,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.08911,
    "h": 105.4
  },
  "luminance": 0.44554
}

Semantic roles & 50–950 ramp

primary
#B9B571
secondary
#B5B6D1
accent
#64CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B571

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

Preview Lab → · Contrast checker → · Palette generator →

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