#978C3F#978C3F

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

Color values

HEX#978C3F
RGBrgb(151, 140, 63)
HSLhsl(53, 41%, 42%)
HSVhsv(53, 58%, 59%)
CMYKcmyk(0%, 7.3%, 58.3%, 40.8%)
CIE-LABlab(57.75, -6.12, 41.85)
CIE-LCHlch(57.75, 42.29, 98.32°)
OKLaboklab(63.37% -0.0193 0.0972)
OKLCHoklch(63.37% 0.099 101.3)
XYZxyz(23.0386, 25.6952, 8.4478)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C3F #3F4A97
analogous
#97603F #978C3F #76973F
triadic
#978C3F #3F978C #8C3F97
tetradic
#978C3F #3F9760 #3F4A97 #973F76
square
#978C3F #3F9760 #3F4A97 #973F76
split-complementary
#978C3F #3F7697 #603F97
monochromatic
#413C1B #6C642D #978C3F #BAAE59 #CCC385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978C3F#FFFFFF#000000##000000
##978C3F1.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)
#988837
Deuteranopia (green-blind)
#9B8D43
Tritanopia (blue-blind)
#A2837B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978c3f;
/* rgb */ color: rgb(151, 140, 63);
/* oklch */ color: oklch(63.4% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#b8ad77',
    500: '#978c3f',
    950: '#000000',
  },
}
SCSS
$custom: #978c3f;
$custom-light: #b8ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#978c3f",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 63
  },
  "hsl": {
    "h": 52.5,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63365,
    "c": 0.09912,
    "h": 101.3
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#978C3F
secondary
#7C83B6
accent
#66D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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