#798A6A#798A6A

#798A6A is a mid, muted yellow-green. Relative luminance 0.233; OKLCH L 61.1% C 0.051 H 130.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#798A6A
RGBrgb(121, 138, 106)
HSLhsl(92, 13%, 48%)
HSVhsv(92, 23%, 54%)
CMYKcmyk(12.3%, 0%, 23.2%, 45.9%)
CIE-LABlab(55.36, -12.32, 15.14)
CIE-LCHlch(55.36, 19.52, 129.14°)
OKLaboklab(61.08% -0.0331 0.0386)
OKLCHoklch(61.08% 0.051 130.6)
XYZxyz(19.5747, 23.2823, 17.0955)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A6A #7B6A8A
analogous
#898A6A #798A6A #6A8A6B
triadic
#798A6A #6A798A #8A6A79
tetradic
#798A6A #6A898A #7B6A8A #8A6B6A
square
#798A6A #6A898A #7B6A8A #8A6B6A
split-complementary
#798A6A #6B6A8A #8A6A89
monochromatic
#3C4535 #5B674F #798A6A #98A68B #B7C1AE

Accessibility & contrast

On white

3.71
#798A6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#798A6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A6A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A6A#FFFFFF#000000##000000
##798A6A1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8568
Deuteranopia (green-blind)
#8A846B
Tritanopia (blue-blind)
#7A8781
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798a6a;
/* rgb */ color: rgb(121, 138, 106);
/* oklch */ color: oklch(61.1% 0.051 130.6);
Tailwind
colors: {
  custom: {
    50: '#a0ac94',
    500: '#798a6a',
    950: '#000000',
  },
}
SCSS
$custom: #798a6a;
$custom-light: #a0ac94;
$custom-dark: #000000;
JSON
{
  "hex": "#798a6a",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 106
  },
  "hsl": {
    "h": 91.875,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.05084,
    "h": 130.6
  },
  "luminance": 0.23283
}

Semantic roles & 50–950 ramp

primary
#798A6A
secondary
#A8A0B0
accent
#72B696
background
#F9FAF9
surface
#F2F4F1
border
#CCCECB
text
#0E100D
muted
#7E7F7E

Preview Lab

Preview with #798A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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