#798D60#798D60

#798D60 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.069 H 127.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#798D60
RGBrgb(121, 141, 96)
HSLhsl(87, 19%, 46%)
HSVhsv(87, 32%, 55%)
CMYKcmyk(14.2%, 0%, 31.9%, 44.7%)
CIE-LABlab(56.05, -15.54, 21.71)
CIE-LCHlch(56.05, 26.70, 125.60°)
OKLaboklab(61.56% -0.0421 0.0544)
OKLCHoklch(61.56% 0.069 127.8)
XYZxyz(19.5211, 23.9591, 14.6602)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D60 #74608D
analogous
#8D8B60 #798D60 #638D60
triadic
#798D60 #60798D #8D6079
tetradic
#798D60 #608D8B #74608D #8D6063
square
#798D60 #608D8B #74608D #8D6063
split-complementary
#798D60 #60638D #8B608D
monochromatic
#3B442E #5A6947 #798D60 #97A981 #B5C2A5

Accessibility & contrast

On white

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

On black

5.79
#798D60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D60
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D60#FFFFFF#000000##000000
##798D601.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798d60;
/* rgb */ color: rgb(121, 141, 96);
/* oklch */ color: oklch(61.6% 0.069 127.8);
Tailwind
colors: {
  custom: {
    50: '#a0ae8d',
    500: '#798d60',
    950: '#000000',
  },
}
SCSS
$custom: #798d60;
$custom-light: #a0ae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#798d60",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 96
  },
  "hsl": {
    "h": 86.667,
    "s": 18.987,
    "l": 46.471
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.06876,
    "h": 127.8
  },
  "luminance": 0.23959
}

Semantic roles & 50–950 ramp

primary
#798D60
secondary
#A398B0
accent
#6CBC8F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798D60

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

Preview Lab → · Contrast checker → · Palette generator →

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