#979F4E#979F4E

#979F4E is a light, moderate yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.106 H 113.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#979F4E
RGBrgb(151, 159, 78)
HSLhsl(66, 34%, 46%)
HSVhsv(66, 51%, 62%)
CMYKcmyk(5%, 0%, 50.9%, 37.6%)
CIE-LABlab(63.28, -14.94, 40.88)
CIE-LCHlch(63.28, 43.53, 110.08°)
OKLaboklab(67.83% -0.0428 0.0967)
OKLCHoklch(67.83% 0.106 113.9)
XYZxyz(26.5362, 31.9261, 11.9707)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F4E #564E9F
analogous
#9F7F4E #979F4E #6F9F4E
triadic
#979F4E #4E979F #9F4E97
tetradic
#979F4E #4E9F7F #564E9F #9F4E6F
square
#979F4E #4E9F7F #564E9F #9F4E6F
split-complementary
#979F4E #4E6F9F #7F4E9F
monochromatic
#494D26 #70763A #979F4E #B2B971 #C8CD9A

Accessibility & contrast

On white

2.84
#979F4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#979F4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F4E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F4E#FFFFFF#000000##000000
##979F4E1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99847
Deuteranopia (green-blind)
#A99A52
Tritanopia (blue-blind)
#9F978D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #979f4e;
/* rgb */ color: rgb(151, 159, 78);
/* oklch */ color: oklch(67.8% 0.106 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7bb82',
    500: '#979f4e',
    950: '#000000',
  },
}
SCSS
$custom: #979f4e;
$custom-light: #b7bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#979f4e",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 78
  },
  "hsl": {
    "h": 65.926,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67827,
    "c": 0.10577,
    "h": 113.9
  },
  "luminance": 0.31926
}

Semantic roles & 50–950 ramp

primary
#979F4E
secondary
#938FBA
accent
#5ECA68
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110A
muted
#80807C

Preview Lab

Preview with #979F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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