#978D3D#978D3D

#978D3D is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.102 H 102.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#978D3D
RGBrgb(151, 141, 61)
HSLhsl(53, 42%, 42%)
HSVhsv(53, 60%, 59%)
CMYKcmyk(0%, 6.6%, 59.6%, 40.8%)
CIE-LABlab(58.01, -6.82, 43.11)
CIE-LCHlch(58.01, 43.65, 98.99°)
OKLaboklab(63.56% -0.0216 0.0997)
OKLCHoklch(63.56% 0.102 102.2)
XYZxyz(23.1305, 25.9669, 8.2077)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D3D #3D4797
analogous
#97603D #978D3D #74973D
triadic
#978D3D #3D978D #8D3D97
tetradic
#978D3D #3D9760 #3D4797 #973D74
square
#978D3D #3D9760 #3D4797 #973D74
split-complementary
#978D3D #3D7497 #603D97
monochromatic
#403C1A #6B642B #978D3D #BBB056 #CCC482

Accessibility & contrast

On white

3.39
#978D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#978D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D3D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D3D#FFFFFF#000000##000000
##978D3D1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998935
Deuteranopia (green-blind)
#9C8D41
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d3d;
/* rgb */ color: rgb(151, 141, 61);
/* oklch */ color: oklch(63.6% 0.102 102.2);
Tailwind
colors: {
  custom: {
    50: '#b8ae76',
    500: '#978d3d',
    950: '#000000',
  },
}
SCSS
$custom: #978d3d;
$custom-light: #b8ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#978d3d",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 53.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.10197,
    "h": 102.2
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#978D3D
secondary
#7980B7
accent
#63D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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