#978D3E#978D3E

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

Color values

HEX#978D3E
RGBrgb(151, 141, 62)
HSLhsl(53, 42%, 42%)
HSVhsv(53, 59%, 59%)
CMYKcmyk(0%, 6.6%, 58.9%, 40.8%)
CIE-LABlab(58.02, -6.75, 42.64)
CIE-LCHlch(58.02, 43.17, 98.99°)
OKLaboklab(63.58% -0.0213 0.0988)
OKLCHoklch(63.58% 0.101 102.1)
XYZxyz(23.1577, 25.9777, 8.3509)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D3E #3E4897
analogous
#97613E #978D3E #75973E
triadic
#978D3E #3E978D #8D3E97
tetradic
#978D3E #3E9761 #3E4897 #973E75
square
#978D3E #3E9761 #3E4897 #973E75
split-complementary
#978D3E #3E7597 #613E97
monochromatic
#403C1A #6C642C #978D3E #BAAF58 #CCC483

Accessibility & contrast

On white

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

On black

6.20
#978D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D3E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D3E#FFFFFF#000000##000000
##978D3E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998936
Deuteranopia (green-blind)
#9C8D42
Tritanopia (blue-blind)
#A2847C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d3e;
/* rgb */ color: rgb(151, 141, 62);
/* oklch */ color: oklch(63.6% 0.101 102.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae76',
    500: '#978d3e',
    950: '#000000',
  },
}
SCSS
$custom: #978d3e;
$custom-light: #b8ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#978d3e",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 53.258,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63575,
    "c": 0.10104,
    "h": 102.1
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#978D3E
secondary
#7A81B6
accent
#64D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #978D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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