#798E60#798E60

#798E60 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.8% C 0.070 H 128.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#798E60
RGBrgb(121, 142, 96)
HSLhsl(87, 19%, 47%)
HSVhsv(87, 32%, 56%)
CMYKcmyk(14.8%, 0%, 32.4%, 44.3%)
CIE-LABlab(56.34, -16.07, 22.11)
CIE-LCHlch(56.34, 27.33, 126.02°)
OKLaboklab(61.8% -0.0436 0.0553)
OKLCHoklch(61.8% 0.07 128.2)
XYZxyz(19.6692, 24.2553, 14.7096)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E60 #75608E
analogous
#8E8C60 #798E60 #628E60
triadic
#798E60 #60798E #8E6079
tetradic
#798E60 #608E8C #75608E #8E6062
square
#798E60 #608E8C #75608E #8E6062
split-complementary
#798E60 #60628E #8C608E
monochromatic
#3B452F #5A6947 #798E60 #97AA81 #B5C3A6

Accessibility & contrast

On white

3.59
#798E60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#798E60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E60
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E60#FFFFFF#000000##000000
##798E601.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885D
Deuteranopia (green-blind)
#8F8762
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e60;
/* rgb */ color: rgb(121, 142, 96);
/* oklch */ color: oklch(61.8% 0.070 128.2);
Tailwind
colors: {
  custom: {
    50: '#a0af8d',
    500: '#798e60',
    950: '#000000',
  },
}
SCSS
$custom: #798e60;
$custom-light: #a0af8d;
$custom-dark: #000000;
JSON
{
  "hex": "#798e60",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 96
  },
  "hsl": {
    "h": 87.391,
    "s": 19.328,
    "l": 46.667
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.07041,
    "h": 128.2
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#798E60
secondary
#A499B1
accent
#6CBC90
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798E60

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

Preview Lab → · Contrast checker → · Palette generator →

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