#978E72#978E72

#978E72 is a light, muted yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.041 H 92.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#978E72
RGBrgb(151, 142, 114)
HSLhsl(45, 15%, 52%)
HSVhsv(45, 25%, 59%)
CMYKcmyk(0%, 6%, 24.5%, 40.8%)
CIE-LABlab(59.10, -1.36, 16.16)
CIE-LCHlch(59.10, 16.21, 94.81°)
OKLaboklab(64.7% -0.0017 0.0412)
OKLCHoklch(64.7% 0.041 92.3)
XYZxyz(25.4728, 27.1408, 19.8132)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E72 #727B97
analogous
#977C72 #978E72 #8E9772
triadic
#978E72 #72978E #8E7297
tetradic
#978E72 #72977C #727B97 #97728E
square
#978E72 #72977C #727B97 #97728E
split-complementary
#978E72 #728E97 #7C7297
monochromatic
#524D3D #756E57 #978E72 #B1AA95 #CBC6B8

Accessibility & contrast

On white

3.27
#978E72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#978E72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E72
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E72#FFFFFF#000000##000000
##978E721.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D70
Deuteranopia (green-blind)
#978F73
Tritanopia (blue-blind)
#9D8A86
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #978e72;
/* rgb */ color: rgb(151, 142, 114);
/* oklch */ color: oklch(64.7% 0.041 92.3);
Tailwind
colors: {
  custom: {
    50: '#b6af9a',
    500: '#978e72',
    950: '#000000',
  },
}
SCSS
$custom: #978e72;
$custom-light: #b6af9a;
$custom-dark: #000000;
JSON
{
  "hex": "#978e72",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 114
  },
  "hsl": {
    "h": 45.405,
    "s": 15.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.647,
    "c": 0.04122,
    "h": 92.3
  },
  "luminance": 0.2714
}

Semantic roles & 50–950 ramp

primary
#978E72
secondary
#AAAEBA
accent
#81B870
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100E
muted
#807F7E

Preview Lab

Preview with #978E72

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

Preview Lab → · Contrast checker → · Palette generator →

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