#798E7C#798E7C

#798E7C is a light, muted green. Relative luminance 0.249; OKLCH L 62.5% C 0.036 H 149.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#798E7C
RGBrgb(121, 142, 124)
HSLhsl(129, 9%, 52%)
HSVhsv(129, 15%, 56%)
CMYKcmyk(14.8%, 0%, 12.7%, 44.3%)
CIE-LABlab(56.94, -11.21, 7.09)
CIE-LCHlch(56.94, 13.26, 147.68°)
OKLaboklab(62.47% -0.0309 0.0184)
OKLCHoklch(62.47% 0.036 149.2)
XYZxyz(21.1954, 24.8658, 22.7478)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E7C #8E798B
analogous
#818E79 #798E7C #798E87
triadic
#798E7C #7C798E #8E7C79
tetradic
#798E7C #79818E #8E798B #8E8779
square
#798E7C #79818E #8E798B #8E8779
split-complementary
#798E7C #87798E #8E7981
monochromatic
#404C42 #5C6D5F #798E7C #9AAA9C #BBC6BD

Accessibility & contrast

On white

3.52
#798E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#798E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E7C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E7C#FFFFFF#000000##000000
##798E7C1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7B
Deuteranopia (green-blind)
#8B887D
Tritanopia (blue-blind)
#778D89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798e7c;
/* rgb */ color: rgb(121, 142, 124);
/* oklch */ color: oklch(62.5% 0.036 149.2);
Tailwind
colors: {
  custom: {
    50: '#a0afa1',
    500: '#798e7c',
    950: '#000000',
  },
}
SCSS
$custom: #798e7c;
$custom-light: #a0afa1;
$custom-dark: #000000;
JSON
{
  "hex": "#798e7c",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 124
  },
  "hsl": {
    "h": 128.571,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.03598,
    "h": 149.2
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#798E7C
secondary
#B6ADB5
accent
#76A9B2
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E100F
muted
#7E7F7E

Preview Lab

Preview with #798E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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