#B4B877#B4B877

#B4B877 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.4% C 0.086 H 111.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B4B877
RGBrgb(180, 184, 119)
HSLhsl(64, 31%, 59%)
HSVhsv(64, 35%, 72%)
CMYKcmyk(2.2%, 0%, 35.3%, 27.8%)
CIE-LABlab(73.10, -11.58, 32.60)
CIE-LCHlch(73.10, 34.59, 109.56°)
OKLaboklab(76.4% -0.0313 0.0803)
OKLCHoklch(76.4% 0.086 111.3)
XYZxyz(39.2929, 45.3168, 24.1263)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B877 #7B77B8
analogous
#B89C77 #B4B877 #94B877
triadic
#B4B877 #77B4B8 #B877B4
tetradic
#B4B877 #77B89C #7B77B8 #B87794
square
#B4B877 #77B89C #7B77B8 #B87794
split-complementary
#B4B877 #7794B8 #9C77B8
monochromatic
#73773E #9A9F53 #B4B877 #CACD9F #E0E2C7

Accessibility & contrast

On white

2.09
#B4B877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B4B877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B877
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B877#FFFFFF#000000##000000
##B4B8771.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B272
Deuteranopia (green-blind)
#C2B47A
Tritanopia (blue-blind)
#BCB1A8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4b877;
/* rgb */ color: rgb(180, 184, 119);
/* oklch */ color: oklch(76.4% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbcd9f',
    500: '#b4b877',
    950: '#000000',
  },
}
SCSS
$custom: #b4b877;
$custom-light: #cbcd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b877",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 119
  },
  "hsl": {
    "h": 63.692,
    "s": 31.401,
    "l": 59.412
  },
  "oklch": {
    "l": 0.76403,
    "c": 0.08619,
    "h": 111.3
  },
  "luminance": 0.45316
}

Semantic roles & 50–950 ramp

primary
#B4B877
secondary
#BAB9D2
accent
#60C867
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B4B877

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

Preview Lab → · Contrast checker → · Palette generator →

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