#B9B577#B9B577

#B9B577 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.082 H 105.0°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B9B577
RGBrgb(185, 181, 119)
HSLhsl(56, 32%, 60%)
HSVhsv(56, 36%, 73%)
CMYKcmyk(0%, 2.2%, 35.7%, 27.5%)
CIE-LABlab(72.69, -8.02, 32.14)
CIE-LCHlch(72.69, 33.13, 104.02°)
OKLaboklab(76.18% -0.0213 0.0792)
OKLCHoklch(76.18% 0.082 105)
XYZxyz(39.8617, 44.6948, 23.9763)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B577 #777BB9
analogous
#B99477 #B9B577 #9CB977
triadic
#B9B577 #77B9B5 #B577B9
tetradic
#B9B577 #77B994 #777BB9 #B9779C
square
#B9B577 #77B994 #777BB9 #B9779C
split-complementary
#B9B577 #779CB9 #9477B9
monochromatic
#78743E #A09C53 #B9B577 #CECB9F #E3E1C8

Accessibility & contrast

On white

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

On black

9.94
#B9B577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B577
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B577#FFFFFF#000000##000000
##B9B5771.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB173
Deuteranopia (green-blind)
#C1B479
Tritanopia (blue-blind)
#C2ADA5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b577;
/* rgb */ color: rgb(185, 181, 119);
/* oklch */ color: oklch(76.2% 0.082 105.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb9f',
    500: '#b9b577',
    950: '#000000',
  },
}
SCSS
$custom: #b9b577;
$custom-light: #cfcb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b577",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 119
  },
  "hsl": {
    "h": 56.364,
    "s": 32.039,
    "l": 59.608
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.08204,
    "h": 105
  },
  "luminance": 0.44694
}

Semantic roles & 50–950 ramp

primary
#B9B577
secondary
#B9BBD3
accent
#66C860
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B577

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

Preview Lab → · Contrast checker → · Palette generator →

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