#978B3C#978B3C

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

Color values

HEX#978B3C
RGBrgb(151, 139, 60)
HSLhsl(52, 43%, 41%)
HSVhsv(52, 60%, 59%)
CMYKcmyk(0%, 7.9%, 60.3%, 40.8%)
CIE-LABlab(57.44, -5.81, 42.95)
CIE-LCHlch(57.44, 43.34, 97.70°)
OKLaboklab(63.11% -0.0188 0.0992)
OKLCHoklch(63.11% 0.101 100.7)
XYZxyz(22.8116, 25.3717, 7.9697)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B3C #3C4897
analogous
#975E3C #978B3C #76973C
triadic
#978B3C #3C978B #8B3C97
tetradic
#978B3C #3C975E #3C4897 #973C76
square
#978B3C #3C975E #3C4897 #973C76
split-complementary
#978B3C #3C7697 #5E3C97
monochromatic
#3F3A19 #6B632B #978B3C #BBAE55 #CDC381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978B3C#FFFFFF#000000##000000
##978B3C1.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)
#978734
Deuteranopia (green-blind)
#9B8C40
Tritanopia (blue-blind)
#A2827A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b3c;
/* rgb */ color: rgb(151, 139, 60);
/* oklch */ color: oklch(63.1% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#b8ac75',
    500: '#978b3c',
    950: '#000000',
  },
}
SCSS
$custom: #978b3c;
$custom-light: #b8ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#978b3c",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 60
  },
  "hsl": {
    "h": 52.088,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.10096,
    "h": 100.7
  },
  "luminance": 0.25371
}

Semantic roles & 50–950 ramp

primary
#978B3C
secondary
#7880B7
accent
#66D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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