#978C63#978C63

#978C63 is a light, muted yellow. Relative luminance 0.262; OKLCH L 63.9% C 0.059 H 94.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#978C63
RGBrgb(151, 140, 99)
HSLhsl(47, 21%, 49%)
HSVhsv(47, 34%, 59%)
CMYKcmyk(0%, 7.3%, 34.4%, 40.8%)
CIE-LABlab(58.26, -2.35, 23.43)
CIE-LCHlch(58.26, 23.54, 95.72°)
OKLaboklab(63.94% -0.005 0.0584)
OKLCHoklch(63.94% 0.059 94.9)
XYZxyz(24.3931, 26.2370, 15.5813)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C63 #636E97
analogous
#977263 #978C63 #889763
triadic
#978C63 #63978C #8C6397
tetradic
#978C63 #639772 #636E97 #976388
square
#978C63 #639772 #636E97 #976388
split-complementary
#978C63 #638897 #726397
monochromatic
#4D4733 #726A4B #978C63 #B0A887 #C9C2AC

Accessibility & contrast

On white

3.36
#978C63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#978C63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C63
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C63#FFFFFF#000000##000000
##978C631.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948A60
Deuteranopia (green-blind)
#978E64
Tritanopia (blue-blind)
#9F8681
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978c63;
/* rgb */ color: rgb(151, 140, 99);
/* oklch */ color: oklch(63.9% 0.059 94.9);
Tailwind
colors: {
  custom: {
    50: '#b6ad8f',
    500: '#978c63',
    950: '#000000',
  },
}
SCSS
$custom: #978c63;
$custom-light: #b6ad8f;
$custom-dark: #000000;
JSON
{
  "hex": "#978c63",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 99
  },
  "hsl": {
    "h": 47.308,
    "s": 20.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63939,
    "c": 0.0586,
    "h": 94.9
  },
  "luminance": 0.26236
}

Semantic roles & 50–950 ramp

primary
#978C63
secondary
#9FA4B7
accent
#7CBD6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #978C63

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

Preview Lab → · Contrast checker → · Palette generator →

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