#978D41#978D41

#978D41 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.098 H 101.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#978D41
RGBrgb(151, 141, 65)
HSLhsl(53, 40%, 42%)
HSVhsv(53, 57%, 59%)
CMYKcmyk(0%, 6.6%, 57%, 40.8%)
CIE-LABlab(58.05, -6.50, 41.21)
CIE-LCHlch(58.05, 41.72, 98.97°)
OKLaboklab(63.61% -0.0202 0.0961)
OKLCHoklch(63.61% 0.098 101.9)
XYZxyz(23.2423, 26.0116, 8.7964)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D41 #414B97
analogous
#976241 #978D41 #769741
triadic
#978D41 #41978D #8D4197
tetradic
#978D41 #419762 #414B97 #974176
square
#978D41 #419762 #414B97 #974176
split-complementary
#978D41 #417697 #624197
monochromatic
#413D1C #6C652F #978D41 #B9AE5C #CBC387

Accessibility & contrast

On white

3.39
#978D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#978D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D41
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D41#FFFFFF#000000##000000
##978D411.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998939
Deuteranopia (green-blind)
#9C8D45
Tritanopia (blue-blind)
#A1847C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d41;
/* rgb */ color: rgb(151, 141, 65);
/* oklch */ color: oklch(63.6% 0.098 101.9);
Tailwind
colors: {
  custom: {
    50: '#b8ae78',
    500: '#978d41',
    950: '#000000',
  },
}
SCSS
$custom: #978d41;
$custom-light: #b8ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#978d41",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 53.023,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.09818,
    "h": 101.9
  },
  "luminance": 0.26011
}

Semantic roles & 50–950 ramp

primary
#978D41
secondary
#7E84B6
accent
#66D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978D41

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

Preview Lab → · Contrast checker → · Palette generator →

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