#978A5D#978A5D

#978A5D is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.4% C 0.064 H 93.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#978A5D
RGBrgb(151, 138, 93)
HSLhsl(47, 24%, 48%)
HSVhsv(47, 38%, 59%)
CMYKcmyk(0%, 8.6%, 38.4%, 40.8%)
CIE-LABlab(57.60, -1.99, 25.89)
CIE-LCHlch(57.60, 25.96, 94.40°)
OKLaboklab(63.39% -0.0044 0.064)
OKLCHoklch(63.39% 0.064 93.9)
XYZxyz(23.8272, 25.5473, 14.0298)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A5D #5D6A97
analogous
#976D5D #978A5D #87975D
triadic
#978A5D #5D978A #8A5D97
tetradic
#978A5D #5D976D #5D6A97 #975D87
square
#978A5D #5D976D #5D6A97 #975D87
split-complementary
#978A5D #5D8797 #6D5D97
monochromatic
#4B452E #716746 #978A5D #B1A680 #C8C1A6

Accessibility & contrast

On white

3.44
#978A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#978A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A5D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A5D#FFFFFF#000000##000000
##978A5D1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885A
Deuteranopia (green-blind)
#978C5F
Tritanopia (blue-blind)
#A0837F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978a5d;
/* rgb */ color: rgb(151, 138, 93);
/* oklch */ color: oklch(63.4% 0.064 93.9);
Tailwind
colors: {
  custom: {
    50: '#b6ac8b',
    500: '#978a5d',
    950: '#000000',
  },
}
SCSS
$custom: #978a5d;
$custom-light: #b6ac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#978a5d",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 46.552,
    "s": 23.77,
    "l": 47.843
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.0641,
    "h": 93.9
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#978A5D
secondary
#99A0B6
accent
#7BC068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #978A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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