#978A4E#978A4E

#978A4E is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.082 H 97.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#978A4E
RGBrgb(151, 138, 78)
HSLhsl(49, 32%, 45%)
HSVhsv(49, 48%, 59%)
CMYKcmyk(0%, 8.6%, 48.3%, 40.8%)
CIE-LABlab(57.37, -3.67, 33.73)
CIE-LCHlch(57.37, 33.93, 96.20°)
OKLaboklab(63.13% -0.0106 0.081)
OKLCHoklch(63.13% 0.082 97.4)
XYZxyz(23.2268, 25.3072, 10.8675)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A4E #4E5B97
analogous
#97654E #978A4E #80974E
triadic
#978A4E #4E978A #8A4E97
tetradic
#978A4E #4E9765 #4E5B97 #974E80
square
#978A4E #4E9765 #4E5B97 #974E80
split-complementary
#978A4E #4E8097 #654E97
monochromatic
#464024 #6F6539 #978A4E #B4A86E #C9C096

Accessibility & contrast

On white

3.46
#978A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#978A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A4E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A4E#FFFFFF#000000##000000
##978A4E1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#988C50
Tritanopia (blue-blind)
#A1827C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978a4e;
/* rgb */ color: rgb(151, 138, 78);
/* oklch */ color: oklch(63.1% 0.082 97.4);
Tailwind
colors: {
  custom: {
    50: '#b7ac81',
    500: '#978a4e',
    950: '#000000',
  },
}
SCSS
$custom: #978a4e;
$custom-light: #b7ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#978a4e",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 49.315,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63128,
    "c": 0.08165,
    "h": 97.4
  },
  "luminance": 0.25306
}

Semantic roles & 50–950 ramp

primary
#978A4E
secondary
#8B93B6
accent
#72C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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