#978B49#978B49

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

Color values

HEX#978B49
RGBrgb(151, 139, 73)
HSLhsl(51, 35%, 44%)
HSVhsv(51, 52%, 59%)
CMYKcmyk(0%, 7.9%, 51.7%, 40.8%)
CIE-LABlab(57.58, -4.70, 36.61)
CIE-LCHlch(57.58, 36.91, 97.32°)
OKLaboklab(63.27% -0.0141 0.0869)
OKLCHoklch(63.27% 0.088 99.2)
XYZxyz(23.1984, 25.5264, 10.0071)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B49 #495597
analogous
#976449 #978B49 #7C9749
triadic
#978B49 #49978B #8B4997
tetradic
#978B49 #499764 #495597 #97497C
square
#978B49 #499764 #495597 #97497C
split-complementary
#978B49 #497C97 #644997
monochromatic
#443F21 #6E6535 #978B49 #B6AA67 #CAC191

Accessibility & contrast

On white

3.44
#978B49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#978B49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B49
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B49#FFFFFF#000000##000000
##978B491.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968843
Deuteranopia (green-blind)
#998C4C
Tritanopia (blue-blind)
#A1837C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b49;
/* rgb */ color: rgb(151, 139, 73);
/* oklch */ color: oklch(63.3% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#b7ac7d',
    500: '#978b49',
    950: '#000000',
  },
}
SCSS
$custom: #978b49;
$custom-light: #b7ac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#978b49",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 73
  },
  "hsl": {
    "h": 50.769,
    "s": 34.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63274,
    "c": 0.08806,
    "h": 99.2
  },
  "luminance": 0.25526
}

Semantic roles & 50–950 ramp

primary
#978B49
secondary
#868EB6
accent
#6ECB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #978B49

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

Preview Lab → · Contrast checker → · Palette generator →

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