#798E7F#798E7F

#798E7F is a light, muted green. Relative luminance 0.249; OKLCH L 62.6% C 0.033 H 154.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#798E7F
RGBrgb(121, 142, 127)
HSLhsl(137, 9%, 52%)
HSVhsv(137, 15%, 56%)
CMYKcmyk(14.8%, 0%, 10.6%, 44.3%)
CIE-LABlab(57.02, -10.62, 5.48)
CIE-LCHlch(57.02, 11.95, 152.69°)
OKLaboklab(62.56% -0.0296 0.0143)
OKLCHoklch(62.56% 0.033 154.3)
XYZxyz(21.3880, 24.9428, 23.7622)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E7F #8E7988
analogous
#7E8E79 #798E7F #798E8A
triadic
#798E7F #7F798E #8E7F79
tetradic
#798E7F #797E8E #8E7988 #8E8A79
square
#798E7F #797E8E #8E7988 #8E8A79
split-complementary
#798E7F #8A798E #8E797E
monochromatic
#404C44 #5C6D61 #798E7F #9AAA9F #BBC6BE

Accessibility & contrast

On white

3.51
#798E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#798E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E7F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E7F#FFFFFF#000000##000000
##798E7F1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7E
Deuteranopia (green-blind)
#8A8880
Tritanopia (blue-blind)
#768D8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798e7f;
/* rgb */ color: rgb(121, 142, 127);
/* oklch */ color: oklch(62.6% 0.033 154.3);
Tailwind
colors: {
  custom: {
    50: '#a0afa4',
    500: '#798e7f',
    950: '#000000',
  },
}
SCSS
$custom: #798e7f;
$custom-light: #a0afa4;
$custom-dark: #000000;
JSON
{
  "hex": "#798e7f",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 127
  },
  "hsl": {
    "h": 137.143,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62559,
    "c": 0.03284,
    "h": 154.3
  },
  "luminance": 0.24943
}

Semantic roles & 50–950 ramp

primary
#798E7F
secondary
#B6ADB3
accent
#76A1B2
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E100F
muted
#7E7F7F

Preview Lab

Preview with #798E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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