#798A6D#798A6D

#798A6D is a mid, muted yellow-green. Relative luminance 0.233; OKLCH L 61.2% C 0.047 H 132.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#798A6D
RGBrgb(121, 138, 109)
HSLhsl(95, 12%, 48%)
HSVhsv(95, 21%, 54%)
CMYKcmyk(12.3%, 0%, 21%, 45.9%)
CIE-LABlab(55.43, -11.81, 13.52)
CIE-LCHlch(55.43, 17.95, 131.12°)
OKLaboklab(61.15% -0.0317 0.0346)
OKLCHoklch(61.15% 0.047 132.5)
XYZxyz(19.7335, 23.3458, 17.9316)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A6D #7E6D8A
analogous
#878A6D #798A6D #6D8A6F
triadic
#798A6D #6D798A #8A6D79
tetradic
#798A6D #6D878A #7E6D8A #8A6F6D
square
#798A6D #6D878A #7E6D8A #8A6F6D
split-complementary
#798A6D #6F6D8A #8A6D87
monochromatic
#3D4637 #5B6852 #798A6D #98A68E #B7C1B0

Accessibility & contrast

On white

3.70
#798A6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#798A6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A6D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A6D#FFFFFF#000000##000000
##798A6D1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866B
Deuteranopia (green-blind)
#8A846E
Tritanopia (blue-blind)
#7A8782
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798a6d;
/* rgb */ color: rgb(121, 138, 109);
/* oklch */ color: oklch(61.2% 0.047 132.5);
Tailwind
colors: {
  custom: {
    50: '#a0ac97',
    500: '#798a6d',
    950: '#000000',
  },
}
SCSS
$custom: #798a6d;
$custom-light: #a0ac97;
$custom-dark: #000000;
JSON
{
  "hex": "#798a6d",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 109
  },
  "hsl": {
    "h": 95.172,
    "s": 11.741,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.04695,
    "h": 132.5
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#798A6D
secondary
#ABA2B0
accent
#73B59A
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E100D
muted
#7E7F7E

Preview Lab

Preview with #798A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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