#797F6A#797F6A

#797F6A is a mid, muted yellow-green. Relative luminance 0.203; OKLCH L 58.5% C 0.032 H 120.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#797F6A
RGBrgb(121, 127, 106)
HSLhsl(77, 9%, 46%)
HSVhsv(77, 17%, 50%)
CMYKcmyk(4.7%, 0%, 16.5%, 50.2%)
CIE-LABlab(52.16, -6.25, 10.68)
CIE-LCHlch(52.16, 12.37, 120.33°)
OKLaboklab(58.53% -0.0161 0.0275)
OKLCHoklch(58.53% 0.032 120.4)
XYZxyz(18.0757, 20.2843, 16.5959)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F6A #706A7F
analogous
#7F7A6A #797F6A #6E7F6A
triadic
#797F6A #6A797F #7F6A79
tetradic
#797F6A #6A7F7A #706A7F #7F6A6E
square
#797F6A #6A7F7A #706A7F #7F6A6E
split-complementary
#797F6A #6A6E7F #7A6A7F
monochromatic
#393C32 #595E4E #797F6A #979D89 #B5B9AB

Accessibility & contrast

On white

4.15
#797F6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#797F6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F6A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F6A#FFFFFF#000000##000000
##797F6A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827C69
Deuteranopia (green-blind)
#817C6B
Tritanopia (blue-blind)
#7B7D79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797f6a;
/* rgb */ color: rgb(121, 127, 106);
/* oklch */ color: oklch(58.5% 0.032 120.4);
Tailwind
colors: {
  custom: {
    50: '#9fa494',
    500: '#797f6a',
    950: '#000000',
  },
}
SCSS
$custom: #797f6a;
$custom-light: #9fa494;
$custom-dark: #000000;
JSON
{
  "hex": "#797f6a",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 106
  },
  "hsl": {
    "h": 77.143,
    "s": 9.013,
    "l": 45.686
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.03189,
    "h": 120.4
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#797F6A
secondary
#A09DA8
accent
#76B287
background
#F9FAF9
surface
#F2F4F1
border
#CCCECB
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #797F6A

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

Preview Lab → · Contrast checker → · Palette generator →

#797F6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva