#798D5E#798D5E

#798D5E is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.071 H 127.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#798D5E
RGBrgb(121, 141, 94)
HSLhsl(86, 20%, 46%)
HSVhsv(86, 33%, 55%)
CMYKcmyk(14.2%, 0%, 33.3%, 44.7%)
CIE-LABlab(56.01, -15.85, 22.78)
CIE-LCHlch(56.01, 27.75, 124.83°)
OKLaboklab(61.52% -0.043 0.0568)
OKLCHoklch(61.52% 0.071 127.1)
XYZxyz(19.4302, 23.9227, 14.1814)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D5E #725E8D
analogous
#8D895E #798D5E #618D5E
triadic
#798D5E #5E798D #8D5E79
tetradic
#798D5E #5E8D89 #725E8D #8D5E61
square
#798D5E #5E8D89 #725E8D #8D5E61
split-complementary
#798D5E #5E618D #895E8D
monochromatic
#3A442D #596846 #798D5E #97A97F #B5C2A3

Accessibility & contrast

On white

3.63
#798D5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#798D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D5E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D5E#FFFFFF#000000##000000
##798D5E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875B
Deuteranopia (green-blind)
#8F8660
Tritanopia (blue-blind)
#7B8981
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798d5e;
/* rgb */ color: rgb(121, 141, 94);
/* oklch */ color: oklch(61.5% 0.071 127.1);
Tailwind
colors: {
  custom: {
    50: '#a0ae8c',
    500: '#798d5e',
    950: '#000000',
  },
}
SCSS
$custom: #798d5e;
$custom-light: #a0ae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#798d5e",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 85.532,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.07127,
    "h": 127.1
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#798D5E
secondary
#A197B0
accent
#6BBD8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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