#978D3A#978D3A

#978D3A is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.105 H 102.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#978D3A
RGBrgb(151, 141, 58)
HSLhsl(54, 44%, 41%)
HSVhsv(54, 62%, 59%)
CMYKcmyk(0%, 6.6%, 61.6%, 40.8%)
CIE-LABlab(57.98, -7.05, 44.50)
CIE-LCHlch(57.98, 45.06, 99.00°)
OKLaboklab(63.53% -0.0226 0.1022)
OKLCHoklch(63.53% 0.105 102.5)
XYZxyz(23.0519, 25.9354, 7.7939)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D3A #3A4497
analogous
#975E3A #978D3A #72973A
triadic
#978D3A #3A978D #8D3A97
tetradic
#978D3A #3A975E #3A4497 #973A72
square
#978D3A #3A975E #3A4497 #973A72
split-complementary
#978D3A #3A7297 #5E3A97
monochromatic
#3F3A18 #6B6429 #978D3A #BCB152 #CDC57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D3A#FFFFFF#000000##000000
##978D3A1.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)
#998931
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d3a;
/* rgb */ color: rgb(151, 141, 58);
/* oklch */ color: oklch(63.5% 0.105 102.5);
Tailwind
colors: {
  custom: {
    50: '#b8ae74',
    500: '#978d3a',
    950: '#000000',
  },
}
SCSS
$custom: #978d3a;
$custom-light: #b8ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#978d3a",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 53.548,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6353,
    "c": 0.10469,
    "h": 102.5
  },
  "luminance": 0.25935
}

Semantic roles & 50–950 ramp

primary
#978D3A
secondary
#767DB7
accent
#61D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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