#978A58#978A58

#978A58 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.070 H 95.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#978A58
RGBrgb(151, 138, 88)
HSLhsl(48, 26%, 47%)
HSVhsv(48, 42%, 59%)
CMYKcmyk(0%, 8.6%, 41.7%, 40.8%)
CIE-LABlab(57.52, -2.59, 28.53)
CIE-LCHlch(57.52, 28.65, 95.18°)
OKLaboklab(63.3% -0.0065 0.0698)
OKLCHoklch(63.3% 0.07 95.3)
XYZxyz(23.6130, 25.4616, 12.9014)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A58 #586597
analogous
#976B58 #978A58 #859758
triadic
#978A58 #58978A #8A5897
tetradic
#978A58 #58976B #586597 #975885
square
#978A58 #58976B #586597 #975885
split-complementary
#978A58 #588597 #6B5897
monochromatic
#4A432B #706741 #978A58 #B2A67A #C8C0A1

Accessibility & contrast

On white

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

On black

6.09
#978A58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A58
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A58#FFFFFF#000000##000000
##978A581.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948854
Deuteranopia (green-blind)
#978C5A
Tritanopia (blue-blind)
#A0837D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978a58;
/* rgb */ color: rgb(151, 138, 88);
/* oklch */ color: oklch(63.3% 0.070 95.3);
Tailwind
colors: {
  custom: {
    50: '#b7ac88',
    500: '#978a58',
    950: '#000000',
  },
}
SCSS
$custom: #978a58;
$custom-light: #b7ac88;
$custom-dark: #000000;
JSON
{
  "hex": "#978a58",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 47.619,
    "s": 26.36,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63295,
    "c": 0.07013,
    "h": 95.3
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#978A58
secondary
#959CB6
accent
#78C365
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #978A58

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

Preview Lab → · Contrast checker → · Palette generator →

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