#979E4E#979E4E

#979E4E is a light, moderate yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.104 H 113.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#979E4E
RGBrgb(151, 158, 78)
HSLhsl(65, 34%, 46%)
HSVhsv(65, 51%, 62%)
CMYKcmyk(4.4%, 0%, 50.6%, 38%)
CIE-LABlab(63.00, -14.42, 40.54)
CIE-LCHlch(63.00, 43.03, 109.58°)
OKLaboklab(67.6% -0.0414 0.096)
OKLCHoklch(67.6% 0.105 113.3)
XYZxyz(26.3650, 31.5835, 11.9136)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E4E #554E9E
analogous
#9E7D4E #979E4E #6F9E4E
triadic
#979E4E #4E979E #9E4E97
tetradic
#979E4E #4E9E7D #554E9E #9E4E6F
square
#979E4E #4E9E7D #554E9E #9E4E6F
split-complementary
#979E4E #4E6F9E #7D4E9E
monochromatic
#494C26 #70753A #979E4E #B2B971 #C8CD9A

Accessibility & contrast

On white

2.87
#979E4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#979E4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E4E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E4E#FFFFFF#000000##000000
##979E4E1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89847
Deuteranopia (green-blind)
#A89952
Tritanopia (blue-blind)
#9F968C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979e4e;
/* rgb */ color: rgb(151, 158, 78);
/* oklch */ color: oklch(67.6% 0.104 113.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba82',
    500: '#979e4e',
    950: '#000000',
  },
}
SCSS
$custom: #979e4e;
$custom-light: #b7ba82;
$custom-dark: #000000;
JSON
{
  "hex": "#979e4e",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 78
  },
  "hsl": {
    "h": 65.25,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.676,
    "c": 0.1045,
    "h": 113.3
  },
  "luminance": 0.31583
}

Semantic roles & 50–950 ramp

primary
#979E4E
secondary
#928EBA
accent
#5ECA67
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110A
muted
#80807C

Preview Lab

Preview with #979E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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