#B5B978#B5B978

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

Color values

HEX#B5B978
RGBrgb(181, 185, 120)
HSLhsl(64, 32%, 60%)
HSVhsv(64, 35%, 73%)
CMYKcmyk(2.2%, 0%, 35.1%, 27.5%)
CIE-LABlab(73.47, -11.58, 32.57)
CIE-LCHlch(73.47, 34.56, 109.57°)
OKLaboklab(76.72% -0.0312 0.0803)
OKLCHoklch(76.72% 0.086 111.3)
XYZxyz(39.7955, 45.8783, 24.5247)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B978 #7C78B9
analogous
#B99C78 #B5B978 #95B978
triadic
#B5B978 #78B5B9 #B978B5
tetradic
#B5B978 #78B99C #7C78B9 #B97895
square
#B5B978 #78B99C #7C78B9 #B97895
split-complementary
#B5B978 #7895B9 #9C78B9
monochromatic
#75783E #9CA153 #B5B978 #CBCEA0 #E1E3C9

Accessibility & contrast

On white

2.06
#B5B978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B5B978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B978
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B978#FFFFFF#000000##000000
##B5B9781.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B373
Deuteranopia (green-blind)
#C3B57B
Tritanopia (blue-blind)
#BDB2A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5b978;
/* rgb */ color: rgb(181, 185, 120);
/* oklch */ color: oklch(76.7% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccce9f',
    500: '#b5b978',
    950: '#000000',
  },
}
SCSS
$custom: #b5b978;
$custom-light: #ccce9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b978",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 63.692,
    "s": 31.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.76719,
    "c": 0.08615,
    "h": 111.3
  },
  "luminance": 0.45878
}

Semantic roles & 50–950 ramp

primary
#B5B978
secondary
#BBBAD3
accent
#60C866
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B5B978

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

Preview Lab → · Contrast checker → · Palette generator →

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