#979C6C#979C6C

#979C6C is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.6% C 0.067 H 113.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#979C6C
RGBrgb(151, 156, 108)
HSLhsl(66, 20%, 52%)
HSVhsv(66, 31%, 61%)
CMYKcmyk(3.2%, 0%, 30.8%, 38.8%)
CIE-LABlab(62.88, -9.86, 24.60)
CIE-LCHlch(62.88, 26.50, 111.83°)
OKLaboklab(67.65% -0.0261 0.0614)
OKLCHoklch(67.65% 0.067 113)
XYZxyz(27.3578, 31.4392, 18.8116)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C6C #716C9C
analogous
#9C896C #979C6C #7F9C6C
triadic
#979C6C #6C979C #9C6C97
tetradic
#979C6C #6C9C89 #716C9C #9C6C7F
square
#979C6C #6C9C89 #716C9C #9C6C7F
split-complementary
#979C6C #6C7F9C #896C9C
monochromatic
#525539 #757952 #979C6C #B1B591 #CBCDB5

Accessibility & contrast

On white

2.88
#979C6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#979C6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C6C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C6C#FFFFFF#000000##000000
##979C6C1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39769
Deuteranopia (green-blind)
#A3996E
Tritanopia (blue-blind)
#9D9790
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979c6c;
/* rgb */ color: rgb(151, 156, 108);
/* oklch */ color: oklch(67.6% 0.067 113.0);
Tailwind
colors: {
  custom: {
    50: '#b6b996',
    500: '#979c6c',
    950: '#000000',
  },
}
SCSS
$custom: #979c6c;
$custom-light: #b6b996;
$custom-dark: #000000;
JSON
{
  "hex": "#979c6c",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 108
  },
  "hsl": {
    "h": 66.25,
    "s": 19.512,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.06674,
    "h": 113
  },
  "luminance": 0.31439
}

Semantic roles & 50–950 ramp

primary
#979C6C
secondary
#AAA7BC
accent
#6CBC74
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #979C6C

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

Preview Lab → · Contrast checker → · Palette generator →

#979C6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva