#978E4E#978E4E

#978E4E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.086 H 101.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#978E4E
RGBrgb(151, 142, 78)
HSLhsl(53, 32%, 45%)
HSVhsv(53, 48%, 59%)
CMYKcmyk(0%, 6%, 48.3%, 40.8%)
CIE-LABlab(58.49, -5.86, 35.10)
CIE-LCHlch(58.49, 35.59, 99.48°)
OKLaboklab(64.01% -0.0169 0.084)
OKLCHoklch(64.01% 0.086 101.4)
XYZxyz(23.8113, 26.4761, 11.0624)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E4E #4E5797
analogous
#976A4E #978E4E #7B974E
triadic
#978E4E #4E978E #8E4E97
tetradic
#978E4E #4E976A #4E5797 #974E7B
square
#978E4E #4E976A #4E5797 #974E7B
split-complementary
#978E4E #4E7B97 #6A4E97
monochromatic
#464224 #6F6839 #978E4E #B4AB6E #C9C396

Accessibility & contrast

On white

3.34
#978E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#978E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E4E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E4E#FFFFFF#000000##000000
##978E4E1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#A1867F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978e4e;
/* rgb */ color: rgb(151, 142, 78);
/* oklch */ color: oklch(64.0% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae81',
    500: '#978e4e',
    950: '#000000',
  },
}
SCSS
$custom: #978e4e;
$custom-light: #b7ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#978e4e",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 52.603,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.08568,
    "h": 101.4
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#978E4E
secondary
#8B90B6
accent
#6DC860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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