#978A41#978A41

#978A41 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.095 H 99.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#978A41
RGBrgb(151, 138, 65)
HSLhsl(51, 40%, 42%)
HSVhsv(51, 57%, 59%)
CMYKcmyk(0%, 8.6%, 57%, 40.8%)
CIE-LABlab(57.21, -4.86, 40.24)
CIE-LCHlch(57.21, 40.54, 96.89°)
OKLaboklab(62.95% -0.0155 0.094)
OKLCHoklch(62.95% 0.095 99.4)
XYZxyz(22.8059, 25.1388, 8.6510)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A41 #414E97
analogous
#975F41 #978A41 #799741
triadic
#978A41 #41978A #8A4197
tetradic
#978A41 #41975F #414E97 #974179
square
#978A41 #41975F #414E97 #974179
split-complementary
#978A41 #417997 #5F4197
monochromatic
#413C1C #6C632F #978A41 #B9AB5C #CBC187

Accessibility & contrast

On white

3.48
#978A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#978A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A41
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A41#FFFFFF#000000##000000
##978A411.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873A
Deuteranopia (green-blind)
#998B44
Tritanopia (blue-blind)
#A2817A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a41;
/* rgb */ color: rgb(151, 138, 65);
/* oklch */ color: oklch(62.9% 0.095 99.4);
Tailwind
colors: {
  custom: {
    50: '#b8ab78',
    500: '#978a41',
    950: '#000000',
  },
}
SCSS
$custom: #978a41;
$custom-light: #b8ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#978a41",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 50.93,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62946,
    "c": 0.09527,
    "h": 99.4
  },
  "luminance": 0.25138
}

Semantic roles & 50–950 ramp

primary
#978A41
secondary
#7E86B6
accent
#6AD058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978A41

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

Preview Lab → · Contrast checker → · Palette generator →

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