#978F41#978F41

#978F41 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.100 H 103.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#978F41
RGBrgb(151, 143, 65)
HSLhsl(54, 40%, 42%)
HSVhsv(54, 57%, 59%)
CMYKcmyk(0%, 5.3%, 57%, 40.8%)
CIE-LABlab(58.61, -7.59, 41.85)
CIE-LCHlch(58.61, 42.54, 100.28°)
OKLaboklab(64.06% -0.0233 0.0975)
OKLCHoklch(64.06% 0.1 103.5)
XYZxyz(23.5399, 26.6067, 8.8956)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F41 #414997
analogous
#976441 #978F41 #749741
triadic
#978F41 #41978F #8F4197
tetradic
#978F41 #419764 #414997 #974174
square
#978F41 #419764 #414997 #974174
split-complementary
#978F41 #417497 #644197
monochromatic
#413E1C #6C662F #978F41 #B9B05C #CBC587

Accessibility & contrast

On white

3.32
#978F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#978F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F41
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F41#FFFFFF#000000##000000
##978F411.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B39
Deuteranopia (green-blind)
#9D8F45
Tritanopia (blue-blind)
#A1867E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f41;
/* rgb */ color: rgb(151, 143, 65);
/* oklch */ color: oklch(64.1% 0.100 103.5);
Tailwind
colors: {
  custom: {
    50: '#b8af78',
    500: '#978f41',
    950: '#000000',
  },
}
SCSS
$custom: #978f41;
$custom-light: #b8af78;
$custom-dark: #000000;
JSON
{
  "hex": "#978f41",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 54.419,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.10021,
    "h": 103.5
  },
  "luminance": 0.26606
}

Semantic roles & 50–950 ramp

primary
#978F41
secondary
#7E83B6
accent
#63D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978F41

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

Preview Lab → · Contrast checker → · Palette generator →

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