#979A6A#979A6A

#979A6A is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.067 H 111.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#979A6A
RGBrgb(151, 154, 106)
HSLhsl(64, 19%, 51%)
HSVhsv(64, 31%, 60%)
CMYKcmyk(1.9%, 0%, 31.2%, 39.6%)
CIE-LABlab(62.28, -9.06, 24.90)
CIE-LCHlch(62.28, 26.50, 109.99°)
OKLaboklab(67.16% -0.0239 0.0621)
OKLCHoklch(67.16% 0.067 111.1)
XYZxyz(26.9197, 30.7315, 18.1465)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A6A #6D6A9A
analogous
#9A856A #979A6A #7F9A6A
triadic
#979A6A #6A979A #9A6A97
tetradic
#979A6A #6A9A85 #6D6A9A #9A6A7F
square
#979A6A #6A9A85 #6D6A9A #9A6A7F
split-complementary
#979A6A #6A7F9A #856A9A
monochromatic
#505238 #747650 #979A6A #B0B38E #CACBB3

Accessibility & contrast

On white

2.94
#979A6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#979A6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979A6A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A6A#FFFFFF#000000##000000
##979A6A1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19667
Deuteranopia (green-blind)
#A2976C
Tritanopia (blue-blind)
#9D948E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979a6a;
/* rgb */ color: rgb(151, 154, 106);
/* oklch */ color: oklch(67.2% 0.067 111.1);
Tailwind
colors: {
  custom: {
    50: '#b6b795',
    500: '#979a6a',
    950: '#000000',
  },
}
SCSS
$custom: #979a6a;
$custom-light: #b6b795;
$custom-dark: #000000;
JSON
{
  "hex": "#979a6a",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 106
  },
  "hsl": {
    "h": 63.75,
    "s": 19.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.06653,
    "h": 111.1
  },
  "luminance": 0.30731
}

Semantic roles & 50–950 ramp

primary
#979A6A
secondary
#A7A5BB
accent
#6CBC71
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11110D
muted
#80807E

Preview Lab

Preview with #979A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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