#797E62#797E62

#797E62 is a mid, muted yellow-green. Relative luminance 0.199; OKLCH L 58.1% C 0.042 H 115.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#797E62
RGBrgb(121, 126, 98)
HSLhsl(71, 13%, 44%)
HSVhsv(71, 22%, 49%)
CMYKcmyk(4%, 0%, 22.2%, 50.6%)
CIE-LABlab(51.69, -7.04, 14.66)
CIE-LCHlch(51.69, 16.26, 115.65°)
OKLaboklab(58.1% -0.0182 0.0374)
OKLCHoklch(58.1% 0.042 115.9)
XYZxyz(17.5504, 19.8686, 14.4633)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E62 #67627E
analogous
#7E7562 #797E62 #6B7E62
triadic
#797E62 #62797E #7E6279
tetradic
#797E62 #627E75 #67627E #7E626B
square
#797E62 #627E75 #67627E #7E626B
split-complementary
#797E62 #626B7E #75627E
monochromatic
#37392C #585C47 #797E62 #989D81 #B4B7A3

Accessibility & contrast

On white

4.22
#797E62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#797E62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E62
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E62#FFFFFF#000000##000000
##797E621.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B60
Deuteranopia (green-blind)
#827B63
Tritanopia (blue-blind)
#7C7B76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797e62;
/* rgb */ color: rgb(121, 126, 98);
/* oklch */ color: oklch(58.1% 0.042 115.9);
Tailwind
colors: {
  custom: {
    50: '#a0a38e',
    500: '#797e62',
    950: '#000000',
  },
}
SCSS
$custom: #797e62;
$custom-light: #a0a38e;
$custom-dark: #000000;
JSON
{
  "hex": "#797e62",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 98
  },
  "hsl": {
    "h": 70.714,
    "s": 12.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.581,
    "c": 0.04153,
    "h": 115.9
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#797E62
secondary
#9895A6
accent
#72B57E
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #797E62

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

Preview Lab → · Contrast checker → · Palette generator →

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