#979C4E#979C4E

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

Color values

HEX#979C4E
RGBrgb(151, 156, 78)
HSLhsl(64, 33%, 46%)
HSVhsv(64, 50%, 61%)
CMYKcmyk(3.2%, 0%, 50%, 38.8%)
CIE-LABlab(62.43, -13.37, 39.87)
CIE-LCHlch(62.43, 42.05, 108.54°)
OKLaboklab(67.15% -0.0384 0.0945)
OKLCHoklch(67.15% 0.102 112.1)
XYZxyz(26.0266, 30.9068, 11.8008)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C4E #534E9C
analogous
#9C7A4E #979C4E #709C4E
triadic
#979C4E #4E979C #9C4E97
tetradic
#979C4E #4E9C7A #534E9C #9C4E70
square
#979C4E #4E9C7A #534E9C #9C4E70
split-complementary
#979C4E #4E709C #7A4E9C
monochromatic
#484A25 #70733A #979C4E #B3B770 #C9CC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C4E#FFFFFF#000000##000000
##979C4E1.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)
#A69647
Deuteranopia (green-blind)
#A69852
Tritanopia (blue-blind)
#A0948A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979c4e;
/* rgb */ color: rgb(151, 156, 78);
/* oklch */ color: oklch(67.1% 0.102 112.1);
Tailwind
colors: {
  custom: {
    50: '#b7b982',
    500: '#979c4e',
    950: '#000000',
  },
}
SCSS
$custom: #979c4e;
$custom-light: #b7b982;
$custom-dark: #000000;
JSON
{
  "hex": "#979c4e",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 78
  },
  "hsl": {
    "h": 63.846,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67146,
    "c": 0.10199,
    "h": 112.1
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

primary
#979C4E
secondary
#908DB8
accent
#5EC965
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110A
muted
#80807C

Preview Lab

Preview with #979C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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