#978C62#978C62

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

Color values

HEX#978C62
RGBrgb(151, 140, 98)
HSLhsl(48, 21%, 49%)
HSVhsv(48, 35%, 59%)
CMYKcmyk(0%, 7.3%, 35.1%, 40.8%)
CIE-LABlab(58.24, -2.48, 23.96)
CIE-LCHlch(58.24, 24.09, 95.90°)
OKLaboklab(63.92% -0.0054 0.0596)
OKLCHoklch(63.92% 0.06 95.2)
XYZxyz(24.3455, 26.2180, 15.3310)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C62 #626D97
analogous
#977262 #978C62 #889762
triadic
#978C62 #62978C #8C6297
tetradic
#978C62 #629772 #626D97 #976288
square
#978C62 #629772 #626D97 #976288
split-complementary
#978C62 #628897 #726297
monochromatic
#4D4732 #726A4A #978C62 #B0A886 #C8C2AB

Accessibility & contrast

On white

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

On black

6.24
#978C62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C62
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C62#FFFFFF#000000##000000
##978C621.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978c62;
/* rgb */ color: rgb(151, 140, 98);
/* oklch */ color: oklch(63.9% 0.060 95.2);
Tailwind
colors: {
  custom: {
    50: '#b6ad8f',
    500: '#978c62',
    950: '#000000',
  },
}
SCSS
$custom: #978c62;
$custom-light: #b6ad8f;
$custom-dark: #000000;
JSON
{
  "hex": "#978c62",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 98
  },
  "hsl": {
    "h": 47.547,
    "s": 21.285,
    "l": 48.824
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.05987,
    "h": 95.2
  },
  "luminance": 0.26217
}

Semantic roles & 50–950 ramp

primary
#978C62
secondary
#9EA3B7
accent
#7BBE6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #978C62

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

Preview Lab → · Contrast checker → · Palette generator →

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