#798C71#798C71

#798C71 is a mid, muted green. Relative luminance 0.240; OKLCH L 61.7% C 0.045 H 136.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#798C71
RGBrgb(121, 140, 113)
HSLhsl(102, 11%, 50%)
HSVhsv(102, 19%, 55%)
CMYKcmyk(13.6%, 0%, 19.3%, 45.1%)
CIE-LABlab(56.10, -12.18, 12.18)
CIE-LCHlch(56.10, 17.23, 135.00°)
OKLaboklab(61.72% -0.0329 0.0313)
OKLCHoklch(61.72% 0.045 136.4)
XYZxyz(20.2433, 24.0131, 19.1881)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C71 #84718C
analogous
#878C71 #798C71 #718C77
triadic
#798C71 #71798C #8C7179
tetradic
#798C71 #71878C #84718C #8C7771
square
#798C71 #71878C #84718C #8C7771
split-complementary
#798C71 #77718C #8C7187
monochromatic
#3E483A #5C6A56 #798C71 #99A893 #B9C3B5

Accessibility & contrast

On white

3.62
#798C71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#798C71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C71
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C71#FFFFFF#000000##000000
##798C711.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E886F
Deuteranopia (green-blind)
#8B8672
Tritanopia (blue-blind)
#798A84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798c71;
/* rgb */ color: rgb(121, 140, 113);
/* oklch */ color: oklch(61.7% 0.045 136.4);
Tailwind
colors: {
  custom: {
    50: '#a0ad99',
    500: '#798c71',
    950: '#000000',
  },
}
SCSS
$custom: #798c71;
$custom-light: #a0ad99;
$custom-dark: #000000;
JSON
{
  "hex": "#798c71",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 113
  },
  "hsl": {
    "h": 102.222,
    "s": 10.672,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.04541,
    "h": 136.4
  },
  "luminance": 0.24013
}

Semantic roles & 50–950 ramp

primary
#798C71
secondary
#AFA6B3
accent
#74B4A1
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E100E
muted
#7E7F7E

Preview Lab

Preview with #798C71

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

Preview Lab → · Contrast checker → · Palette generator →

#798C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva