#978B4E#978B4E

#978B4E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.083 H 98.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#978B4E
RGBrgb(151, 139, 78)
HSLhsl(50, 32%, 45%)
HSVhsv(50, 48%, 59%)
CMYKcmyk(0%, 7.9%, 48.3%, 40.8%)
CIE-LABlab(57.65, -4.22, 34.08)
CIE-LCHlch(57.65, 34.34, 97.06°)
OKLaboklab(63.35% -0.0121 0.0817)
OKLCHoklch(63.35% 0.083 98.5)
XYZxyz(23.3709, 25.5954, 10.9156)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B4E #4E5A97
analogous
#97674E #978B4E #7F974E
triadic
#978B4E #4E978B #8B4E97
tetradic
#978B4E #4E9767 #4E5A97 #974E7F
square
#978B4E #4E9767 #4E5A97 #974E7F
split-complementary
#978B4E #4E7F97 #674E97
monochromatic
#464124 #6F6639 #978B4E #B4A96E #C9C196

Accessibility & contrast

On white

3.43
#978B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#978B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B4E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B4E#FFFFFF#000000##000000
##978B4E1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#998C50
Tritanopia (blue-blind)
#A1837C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b4e;
/* rgb */ color: rgb(151, 139, 78);
/* oklch */ color: oklch(63.3% 0.083 98.5);
Tailwind
colors: {
  custom: {
    50: '#b7ac81',
    500: '#978b4e',
    950: '#000000',
  },
}
SCSS
$custom: #978b4e;
$custom-light: #b7ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#978b4e",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 50.137,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.08262,
    "h": 98.5
  },
  "luminance": 0.25595
}

Semantic roles & 50–950 ramp

primary
#978B4E
secondary
#8B92B6
accent
#71C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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