#978C4E#978C4E

#978C4E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.084 H 99.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#978C4E
RGBrgb(151, 140, 78)
HSLhsl(51, 32%, 45%)
HSVhsv(51, 48%, 59%)
CMYKcmyk(0%, 7.3%, 48.3%, 40.8%)
CIE-LABlab(57.93, -4.77, 34.42)
CIE-LCHlch(57.93, 34.75, 97.89°)
OKLaboklab(63.57% -0.0137 0.0825)
OKLCHoklch(63.57% 0.084 99.5)
XYZxyz(23.5164, 25.8863, 10.9641)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C4E #4E5997
analogous
#97684E #978C4E #7E974E
triadic
#978C4E #4E978C #8C4E97
tetradic
#978C4E #4E9768 #4E5997 #974E7E
square
#978C4E #4E9768 #4E5997 #974E7E
split-complementary
#978C4E #4E7E97 #684E97
monochromatic
#464124 #6F6739 #978C4E #B4AA6E #C9C196

Accessibility & contrast

On white

3.40
#978C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#978C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C4E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C4E#FFFFFF#000000##000000
##978C4E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978949
Deuteranopia (green-blind)
#9A8D51
Tritanopia (blue-blind)
#A1847D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978c4e;
/* rgb */ color: rgb(151, 140, 78);
/* oklch */ color: oklch(63.6% 0.084 99.5);
Tailwind
colors: {
  custom: {
    50: '#b7ad81',
    500: '#978c4e',
    950: '#000000',
  },
}
SCSS
$custom: #978c4e;
$custom-light: #b7ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#978c4e",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 50.959,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.08362,
    "h": 99.5
  },
  "luminance": 0.25886
}

Semantic roles & 50–950 ramp

primary
#978C4E
secondary
#8B92B6
accent
#6FC860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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