#797E65#797E65

#797E65 is a mid, muted yellow-green. Relative luminance 0.199; OKLCH L 58.2% C 0.037 H 116.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#797E65
RGBrgb(121, 126, 101)
HSLhsl(72, 11%, 45%)
HSVhsv(72, 20%, 49%)
CMYKcmyk(4%, 0%, 19.8%, 50.6%)
CIE-LABlab(51.75, -6.54, 13.01)
CIE-LCHlch(51.75, 14.57, 116.69°)
OKLaboklab(58.17% -0.0168 0.0333)
OKLCHoklch(58.17% 0.037 116.8)
XYZxyz(17.6947, 19.9263, 15.2234)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E65 #6A657E
analogous
#7E7765 #797E65 #6D7E65
triadic
#797E65 #65797E #7E6579
tetradic
#797E65 #657E77 #6A657E #7E656D
square
#797E65 #657E77 #6A657E #7E656D
split-complementary
#797E65 #656D7E #77657E
monochromatic
#383A2F #585C4A #797E65 #979C84 #B4B8A6

Accessibility & contrast

On white

4.21
#797E65 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#797E65 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E65
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E65#FFFFFF#000000##000000
##797E651.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B64
Deuteranopia (green-blind)
#817C66
Tritanopia (blue-blind)
#7C7B77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797e65;
/* rgb */ color: rgb(121, 126, 101);
/* oklch */ color: oklch(58.2% 0.037 116.8);
Tailwind
colors: {
  custom: {
    50: '#a0a391',
    500: '#797e65',
    950: '#000000',
  },
}
SCSS
$custom: #797e65;
$custom-light: #a0a391;
$custom-dark: #000000;
JSON
{
  "hex": "#797e65",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 101
  },
  "hsl": {
    "h": 72,
    "s": 11.013,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.03732,
    "h": 116.8
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#797E65
secondary
#9B98A7
accent
#74B481
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #797E65

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

Preview Lab → · Contrast checker → · Palette generator →

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