#978E41#978E41

#978E41 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.099 H 102.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#978E41
RGBrgb(151, 142, 65)
HSLhsl(54, 40%, 42%)
HSVhsv(54, 57%, 59%)
CMYKcmyk(0%, 6%, 57%, 40.8%)
CIE-LABlab(58.33, -7.05, 41.53)
CIE-LCHlch(58.33, 42.12, 99.63°)
OKLaboklab(63.83% -0.0218 0.0968)
OKLCHoklch(63.83% 0.099 102.7)
XYZxyz(23.3904, 26.3078, 8.8458)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E41 #414A97
analogous
#976341 #978E41 #759741
triadic
#978E41 #41978E #8E4197
tetradic
#978E41 #419763 #414A97 #974175
square
#978E41 #419763 #414A97 #974175
split-complementary
#978E41 #417597 #634197
monochromatic
#413E1C #6C662F #978E41 #B9AF5C #CBC487

Accessibility & contrast

On white

3.35
#978E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#978E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E41
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E41#FFFFFF#000000##000000
##978E411.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#A1857D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e41;
/* rgb */ color: rgb(151, 142, 65);
/* oklch */ color: oklch(63.8% 0.099 102.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae78',
    500: '#978e41',
    950: '#000000',
  },
}
SCSS
$custom: #978e41;
$custom-light: #b8ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#978e41",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 65
  },
  "hsl": {
    "h": 53.721,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.09919,
    "h": 102.7
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978E41

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

Preview Lab → · Contrast checker → · Palette generator →

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