#978B3A#978B3A

#978B3A is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.103 H 100.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#978B3A
RGBrgb(151, 139, 58)
HSLhsl(52, 44%, 41%)
HSVhsv(52, 62%, 59%)
CMYKcmyk(0%, 7.9%, 61.6%, 40.8%)
CIE-LABlab(57.42, -5.96, 43.88)
CIE-LCHlch(57.42, 44.29, 97.73°)
OKLaboklab(63.09% -0.0195 0.1009)
OKLCHoklch(63.09% 0.103 100.9)
XYZxyz(22.7597, 25.3510, 7.6965)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B3A #3A4697
analogous
#975C3A #978B3A #74973A
triadic
#978B3A #3A978B #8B3A97
tetradic
#978B3A #3A975C #3A4697 #973A74
square
#978B3A #3A975C #3A4697 #973A74
split-complementary
#978B3A #3A7497 #5C3A97
monochromatic
#3F3A18 #6B6229 #978B3A #BCAF52 #CDC37E

Accessibility & contrast

On white

3.46
#978B3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#978B3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B3A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B3A#FFFFFF#000000##000000
##978B3A1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978731
Deuteranopia (green-blind)
#9B8C3E
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b3a;
/* rgb */ color: rgb(151, 139, 58);
/* oklch */ color: oklch(63.1% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#b8ac73',
    500: '#978b3a',
    950: '#000000',
  },
}
SCSS
$custom: #978b3a;
$custom-light: #b8ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#978b3a",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 58
  },
  "hsl": {
    "h": 52.258,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.10277,
    "h": 100.9
  },
  "luminance": 0.2535
}

Semantic roles & 50–950 ramp

primary
#978B3A
secondary
#767EB7
accent
#64D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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