#978A3C#978A3C

#978A3C is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.100 H 99.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#978A3C
RGBrgb(151, 138, 60)
HSLhsl(51, 43%, 41%)
HSVhsv(51, 60%, 59%)
CMYKcmyk(0%, 8.6%, 60.3%, 40.8%)
CIE-LABlab(57.16, -5.26, 42.64)
CIE-LCHlch(57.16, 42.96, 97.03°)
OKLaboklab(62.89% -0.0173 0.0985)
OKLCHoklch(62.89% 0.1 99.9)
XYZxyz(22.6674, 25.0834, 7.9217)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A3C #3C4997
analogous
#975D3C #978A3C #77973C
triadic
#978A3C #3C978A #8A3C97
tetradic
#978A3C #3C975D #3C4997 #973C77
square
#978A3C #3C975D #3C4997 #973C77
split-complementary
#978A3C #3C7797 #5D3C97
monochromatic
#3F3A19 #6B622B #978A3C #BBAD55 #CDC281

Accessibility & contrast

On white

3.49
#978A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#978A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A3C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A3C#FFFFFF#000000##000000
##978A3C1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968634
Deuteranopia (green-blind)
#9A8B40
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a3c;
/* rgb */ color: rgb(151, 138, 60);
/* oklch */ color: oklch(62.9% 0.100 99.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab75',
    500: '#978a3c',
    950: '#000000',
  },
}
SCSS
$custom: #978a3c;
$custom-light: #b8ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#978a3c",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 51.429,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62886,
    "c": 0.10002,
    "h": 99.9
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#978A3C
secondary
#7881B7
accent
#67D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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