#978B3E#978B3E

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

Color values

HEX#978B3E
RGBrgb(151, 139, 62)
HSLhsl(52, 42%, 42%)
HSVhsv(52, 59%, 59%)
CMYKcmyk(0%, 7.9%, 58.9%, 40.8%)
CIE-LABlab(57.46, -5.65, 42.01)
CIE-LCHlch(57.46, 42.39, 97.67°)
OKLaboklab(63.13% -0.0181 0.0974)
OKLCHoklch(63.13% 0.099 100.5)
XYZxyz(22.8654, 25.3932, 8.2534)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B3E #3E4A97
analogous
#975F3E #978B3E #77973E
triadic
#978B3E #3E978B #8B3E97
tetradic
#978B3E #3E975F #3E4A97 #973E77
square
#978B3E #3E975F #3E4A97 #973E77
split-complementary
#978B3E #3E7797 #5F3E97
monochromatic
#403B1A #6C632C #978B3E #BAAD58 #CCC283

Accessibility & contrast

On white

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

On black

6.08
#978B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B3E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B3E#FFFFFF#000000##000000
##978B3E1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978736
Deuteranopia (green-blind)
#9A8C42
Tritanopia (blue-blind)
#A2827A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b3e;
/* rgb */ color: rgb(151, 139, 62);
/* oklch */ color: oklch(63.1% 0.099 100.5);
Tailwind
colors: {
  custom: {
    50: '#b8ac76',
    500: '#978b3e',
    950: '#000000',
  },
}
SCSS
$custom: #978b3e;
$custom-light: #b8ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#978b3e",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 51.91,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63131,
    "c": 0.09909,
    "h": 100.5
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#978B3E
secondary
#7A82B6
accent
#67D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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