#979860#979860

#979860 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.076 H 109.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#979860
RGBrgb(151, 152, 96)
HSLhsl(61, 23%, 49%)
HSVhsv(61, 37%, 60%)
CMYKcmyk(0.7%, 0%, 36.8%, 40.4%)
CIE-LABlab(61.55, -9.27, 29.38)
CIE-LCHlch(61.55, 30.81, 107.52°)
OKLaboklab(66.53% -0.0251 0.0722)
OKLCHoklch(66.53% 0.076 109.2)
XYZxyz(26.1023, 29.8808, 15.4566)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979860 #616098
analogous
#987D60 #979860 #7B9860
triadic
#979860 #609798 #986097
tetradic
#979860 #60987D #616098 #98607B
square
#979860 #60987D #616098 #98607B
split-complementary
#979860 #607B98 #7D6098
monochromatic
#4C4D31 #727248 #979860 #B0B184 #C8C9A9

Accessibility & contrast

On white

3.01
#979860 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#979860 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979860
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979860#FFFFFF#000000##000000
##9798601.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0935C
Deuteranopia (green-blind)
#A19662
Tritanopia (blue-blind)
#9E918A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979860;
/* rgb */ color: rgb(151, 152, 96);
/* oklch */ color: oklch(66.5% 0.076 109.2);
Tailwind
colors: {
  custom: {
    50: '#b6b68e',
    500: '#979860',
    950: '#000000',
  },
}
SCSS
$custom: #979860;
$custom-light: #b6b68e;
$custom-dark: #000000;
JSON
{
  "hex": "#979860",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 96
  },
  "hsl": {
    "h": 61.071,
    "s": 22.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.07639,
    "h": 109.2
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#979860
secondary
#9D9CB7
accent
#69BF6A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #979860

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

Preview Lab → · Contrast checker → · Palette generator →

#979860 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva