#798E7B#798E7B

#798E7B is a light, muted green. Relative luminance 0.248; OKLCH L 62.4% C 0.037 H 147.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#798E7B
RGBrgb(121, 142, 123)
HSLhsl(126, 9%, 52%)
HSVhsv(126, 15%, 56%)
CMYKcmyk(14.8%, 0%, 13.4%, 44.3%)
CIE-LABlab(56.92, -11.40, 7.63)
CIE-LCHlch(56.92, 13.72, 146.22°)
OKLaboklab(62.45% -0.0314 0.0198)
OKLCHoklch(62.45% 0.037 147.8)
XYZxyz(21.1325, 24.8406, 22.4164)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E7B #8E798C
analogous
#828E79 #798E7B #798E86
triadic
#798E7B #7B798E #8E7B79
tetradic
#798E7B #79828E #8E798C #8E8679
square
#798E7B #79828E #8E798C #8E8679
split-complementary
#798E7B #86798E #8E7982
monochromatic
#404C41 #5C6D5E #798E7B #9AAA9C #BBC6BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E7B#FFFFFF#000000##000000
##798E7B1.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)
#8F8A7A
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#778D88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798e7b;
/* rgb */ color: rgb(121, 142, 123);
/* oklch */ color: oklch(62.4% 0.037 147.8);
Tailwind
colors: {
  custom: {
    50: '#a0afa1',
    500: '#798e7b',
    950: '#000000',
  },
}
SCSS
$custom: #798e7b;
$custom-light: #a0afa1;
$custom-dark: #000000;
JSON
{
  "hex": "#798e7b",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 123
  },
  "hsl": {
    "h": 125.714,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.03709,
    "h": 147.8
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#798E7B
secondary
#B6ADB5
accent
#76ACB2
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E100E
muted
#7E7F7E

Preview Lab

Preview with #798E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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