#979C4F#979C4F

#979C4F is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.101 H 112.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#979C4F
RGBrgb(151, 156, 79)
HSLhsl(64, 33%, 46%)
HSVhsv(64, 49%, 61%)
CMYKcmyk(3.2%, 0%, 49.4%, 38.8%)
CIE-LABlab(62.44, -13.27, 39.38)
CIE-LCHlch(62.44, 41.55, 108.63°)
OKLaboklab(67.16% -0.038 0.0935)
OKLCHoklch(67.16% 0.101 112.1)
XYZxyz(26.0627, 30.9212, 11.9911)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C4F #544F9C
analogous
#9C7A4F #979C4F #709C4F
triadic
#979C4F #4F979C #9C4F97
tetradic
#979C4F #4F9C7A #544F9C #9C4F70
square
#979C4F #4F9C7A #544F9C #9C4F70
split-complementary
#979C4F #4F709C #7A4F9C
monochromatic
#484B26 #70733A #979C4F #B3B771 #C8CC9A

Accessibility & contrast

On white

2.92
#979C4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#979C4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C4F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C4F#FFFFFF#000000##000000
##979C4F1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69648
Deuteranopia (green-blind)
#A69853
Tritanopia (blue-blind)
#9F948A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979c4f;
/* rgb */ color: rgb(151, 156, 79);
/* oklch */ color: oklch(67.2% 0.101 112.1);
Tailwind
colors: {
  custom: {
    50: '#b7b982',
    500: '#979c4f',
    950: '#000000',
  },
}
SCSS
$custom: #979c4f;
$custom-light: #b7b982;
$custom-dark: #000000;
JSON
{
  "hex": "#979c4f",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 79
  },
  "hsl": {
    "h": 63.896,
    "s": 32.766,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.10094,
    "h": 112.1
  },
  "luminance": 0.30921
}

Semantic roles & 50–950 ramp

primary
#979C4F
secondary
#918EB8
accent
#5FC966
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110A
muted
#80807C

Preview Lab

Preview with #979C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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