#978D48#978D48

#978D48 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.091 H 101.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#978D48
RGBrgb(151, 141, 72)
HSLhsl(52, 35%, 44%)
HSVhsv(52, 52%, 59%)
CMYKcmyk(0%, 6.6%, 52.3%, 40.8%)
CIE-LABlab(58.13, -5.89, 37.78)
CIE-LCHlch(58.13, 38.24, 98.87°)
OKLaboklab(63.7% -0.0176 0.0894)
OKLCHoklch(63.7% 0.091 101.2)
XYZxyz(23.4578, 26.0978, 9.9314)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D48 #485297
analogous
#976548 #978D48 #799748
triadic
#978D48 #48978D #8D4897
tetradic
#978D48 #489765 #485297 #974879
square
#978D48 #489765 #485297 #974879
split-complementary
#978D48 #487997 #654897
monochromatic
#444020 #6E6634 #978D48 #B6AC66 #CAC290

Accessibility & contrast

On white

3.38
#978D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#978D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D48
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D48#FFFFFF#000000##000000
##978D481.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988942
Deuteranopia (green-blind)
#9B8E4B
Tritanopia (blue-blind)
#A1857D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978d48;
/* rgb */ color: rgb(151, 141, 72);
/* oklch */ color: oklch(63.7% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#b7ae7d',
    500: '#978d48',
    950: '#000000',
  },
}
SCSS
$custom: #978d48;
$custom-light: #b7ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#978d48",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 52.405,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.0911,
    "h": 101.2
  },
  "luminance": 0.26097
}

Semantic roles & 50–950 ramp

primary
#978D48
secondary
#858BB6
accent
#6ACB5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #978D48

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

Preview Lab → · Contrast checker → · Palette generator →

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