#797E68#797E68

#797E68 is a mid, muted yellow-green. Relative luminance 0.200; OKLCH L 58.3% C 0.033 H 117.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#797E68
RGBrgb(121, 126, 104)
HSLhsl(74, 10%, 45%)
HSVhsv(74, 17%, 49%)
CMYKcmyk(4%, 0%, 17.5%, 50.6%)
CIE-LABlab(51.82, -6.03, 11.37)
CIE-LCHlch(51.82, 12.87, 117.95°)
OKLaboklab(58.25% -0.0154 0.0293)
OKLCHoklch(58.25% 0.033 117.8)
XYZxyz(17.8444, 19.9862, 16.0117)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E68 #6D687E
analogous
#7E7868 #797E68 #6E7E68
triadic
#797E68 #68797E #7E6879
tetradic
#797E68 #687E78 #6D687E #7E686E
square
#797E68 #687E78 #6D687E #7E686E
split-complementary
#797E68 #686E7E #78687E
monochromatic
#393B31 #595C4C #797E68 #979C87 #B4B8A9

Accessibility & contrast

On white

4.20
#797E68 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#797E68 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E68
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E68#FFFFFF#000000##000000
##797E681.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817B67
Deuteranopia (green-blind)
#817C69
Tritanopia (blue-blind)
#7B7B78
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e68;
/* rgb */ color: rgb(121, 126, 104);
/* oklch */ color: oklch(58.3% 0.033 117.8);
Tailwind
colors: {
  custom: {
    50: '#9fa393',
    500: '#797e68',
    950: '#000000',
  },
}
SCSS
$custom: #797e68;
$custom-light: #9fa393;
$custom-dark: #000000;
JSON
{
  "hex": "#797e68",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 104
  },
  "hsl": {
    "h": 73.636,
    "s": 9.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.03308,
    "h": 117.8
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#797E68
secondary
#9D9BA7
accent
#75B383
background
#F9FAF9
surface
#F2F3F1
border
#CCCDCB
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #797E68

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

Preview Lab → · Contrast checker → · Palette generator →

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