#978C41#978C41

#978C41 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.097 H 101.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#978C41
RGBrgb(151, 140, 65)
HSLhsl(52, 40%, 42%)
HSVhsv(52, 57%, 59%)
CMYKcmyk(0%, 7.3%, 57%, 40.8%)
CIE-LABlab(57.77, -5.96, 40.89)
CIE-LCHlch(57.77, 41.32, 98.29°)
OKLaboklab(63.39% -0.0186 0.0954)
OKLCHoklch(63.39% 0.097 101.1)
XYZxyz(23.0955, 25.7180, 8.7475)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C41 #414C97
analogous
#976141 #978C41 #779741
triadic
#978C41 #41978C #8C4197
tetradic
#978C41 #419761 #414C97 #974177
square
#978C41 #419761 #414C97 #974177
split-complementary
#978C41 #417797 #614197
monochromatic
#413D1C #6C642F #978C41 #B9AD5C #CBC387

Accessibility & contrast

On white

3.42
#978C41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#978C41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C41
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C41#FFFFFF#000000##000000
##978C411.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98883A
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#A2837B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978c41;
/* rgb */ color: rgb(151, 140, 65);
/* oklch */ color: oklch(63.4% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#b8ad78',
    500: '#978c41',
    950: '#000000',
  },
}
SCSS
$custom: #978c41;
$custom-light: #b8ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#978c41",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 65
  },
  "hsl": {
    "h": 52.326,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.09719,
    "h": 101.1
  },
  "luminance": 0.25717
}

Semantic roles & 50–950 ramp

primary
#978C41
secondary
#7E85B6
accent
#67D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978C41

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

Preview Lab → · Contrast checker → · Palette generator →

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