#978B41#978B41

#978B41 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.096 H 100.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#978B41
RGBrgb(151, 139, 65)
HSLhsl(52, 40%, 42%)
HSVhsv(52, 57%, 59%)
CMYKcmyk(0%, 7.9%, 57%, 40.8%)
CIE-LABlab(57.49, -5.41, 40.57)
CIE-LCHlch(57.49, 40.93, 97.60°)
OKLaboklab(63.17% -0.0171 0.0947)
OKLCHoklch(63.17% 0.096 100.2)
XYZxyz(22.9500, 25.4271, 8.6990)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B41 #414D97
analogous
#976041 #978B41 #789741
triadic
#978B41 #41978B #8B4197
tetradic
#978B41 #419760 #414D97 #974178
square
#978B41 #419760 #414D97 #974178
split-complementary
#978B41 #417897 #604197
monochromatic
#413C1C #6C642F #978B41 #B9AC5C #CBC287

Accessibility & contrast

On white

3.45
#978B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#978B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B41
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B41#FFFFFF#000000##000000
##978B411.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#9A8C44
Tritanopia (blue-blind)
#A2827A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b41;
/* rgb */ color: rgb(151, 139, 65);
/* oklch */ color: oklch(63.2% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#b8ac78',
    500: '#978b41',
    950: '#000000',
  },
}
SCSS
$custom: #978b41;
$custom-light: #b8ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#978b41",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 51.628,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.09622,
    "h": 100.2
  },
  "luminance": 0.25426
}

Semantic roles & 50–950 ramp

primary
#978B41
secondary
#7E86B6
accent
#69D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978B41

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

Preview Lab → · Contrast checker → · Palette generator →

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