#978D4E#978D4E

#978D4E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.085 H 100.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#978D4E
RGBrgb(151, 141, 78)
HSLhsl(52, 32%, 45%)
HSVhsv(52, 48%, 59%)
CMYKcmyk(0%, 6.6%, 48.3%, 40.8%)
CIE-LABlab(58.21, -5.32, 34.76)
CIE-LCHlch(58.21, 35.16, 98.69°)
OKLaboklab(63.79% -0.0153 0.0832)
OKLCHoklch(63.79% 0.085 100.4)
XYZxyz(23.6632, 26.1799, 11.0130)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D4E #4E5897
analogous
#97694E #978D4E #7C974E
triadic
#978D4E #4E978D #8D4E97
tetradic
#978D4E #4E9769 #4E5897 #974E7C
square
#978D4E #4E9769 #4E5897 #974E7C
split-complementary
#978D4E #4E7C97 #694E97
monochromatic
#464224 #6F6739 #978D4E #B4AB6E #C9C296

Accessibility & contrast

On white

3.37
#978D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D4E#FFFFFF#000000##000000
##978D4E1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#A1857E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978d4e;
/* rgb */ color: rgb(151, 141, 78);
/* oklch */ color: oklch(63.8% 0.085 100.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae81',
    500: '#978d4e',
    950: '#000000',
  },
}
SCSS
$custom: #978d4e;
$custom-light: #b7ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#978d4e",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 51.781,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.08464,
    "h": 100.4
  },
  "luminance": 0.26179
}

Semantic roles & 50–950 ramp

primary
#978D4E
secondary
#8B91B6
accent
#6EC860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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