#979A4E#979A4E

#979A4E is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.100 H 110.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#979A4E
RGBrgb(151, 154, 78)
HSLhsl(62, 33%, 45%)
HSVhsv(62, 49%, 60%)
CMYKcmyk(1.9%, 0%, 49.4%, 39.6%)
CIE-LABlab(61.86, -12.32, 39.19)
CIE-LCHlch(61.86, 41.08, 107.45°)
OKLaboklab(66.69% -0.0354 0.093)
OKLCHoklch(66.69% 0.1 110.8)
XYZxyz(25.6937, 30.2411, 11.6899)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A4E #514E9A
analogous
#9A774E #979A4E #719A4E
triadic
#979A4E #4E979A #9A4E97
tetradic
#979A4E #4E9A77 #514E9A #9A4E71
square
#979A4E #4E9A77 #514E9A #9A4E71
split-complementary
#979A4E #4E719A #774E9A
monochromatic
#474925 #6F7139 #979A4E #B3B66F #C9CB98

Accessibility & contrast

On white

2.98
#979A4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#979A4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979A4E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A4E#FFFFFF#000000##000000
##979A4E1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49447
Deuteranopia (green-blind)
#A59752
Tritanopia (blue-blind)
#A09288
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a4e;
/* rgb */ color: rgb(151, 154, 78);
/* oklch */ color: oklch(66.7% 0.100 110.8);
Tailwind
colors: {
  custom: {
    50: '#b7b781',
    500: '#979a4e',
    950: '#000000',
  },
}
SCSS
$custom: #979a4e;
$custom-light: #b7b781;
$custom-dark: #000000;
JSON
{
  "hex": "#979a4e",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 78
  },
  "hsl": {
    "h": 62.368,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.09951,
    "h": 110.8
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#979A4E
secondary
#8E8DB7
accent
#5FC963
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110A
muted
#80807C

Preview Lab

Preview with #979A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#979A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva