#978F4E#978F4E

#978F4E is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.087 H 102.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#978F4E
RGBrgb(151, 143, 78)
HSLhsl(53, 32%, 45%)
HSVhsv(53, 48%, 59%)
CMYKcmyk(0%, 5.3%, 48.3%, 40.8%)
CIE-LABlab(58.77, -6.41, 35.44)
CIE-LCHlch(58.77, 36.02, 100.25°)
OKLaboklab(64.23% -0.0185 0.0848)
OKLCHoklch(64.23% 0.087 102.3)
XYZxyz(23.9607, 26.7750, 11.1122)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F4E #4E5697
analogous
#976B4E #978F4E #7A974E
triadic
#978F4E #4E978F #8F4E97
tetradic
#978F4E #4E976B #4E5697 #974E7A
square
#978F4E #4E976B #4E5697 #974E7A
split-complementary
#978F4E #4E7A97 #6B4E97
monochromatic
#464324 #6F6939 #978F4E #B4AC6E #C9C396

Accessibility & contrast

On white

3.30
#978F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#978F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F4E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F4E#FFFFFF#000000##000000
##978F4E1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B49
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A08780
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f4e;
/* rgb */ color: rgb(151, 143, 78);
/* oklch */ color: oklch(64.2% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#b7af81',
    500: '#978f4e',
    950: '#000000',
  },
}
SCSS
$custom: #978f4e;
$custom-light: #b7af81;
$custom-dark: #000000;
JSON
{
  "hex": "#978f4e",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 53.425,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64231,
    "c": 0.08675,
    "h": 102.3
  },
  "luminance": 0.26774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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