#798E4F#798E4F

#798E4F is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.5% C 0.091 H 124.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#798E4F
RGBrgb(121, 142, 79)
HSLhsl(80, 29%, 43%)
HSVhsv(80, 44%, 56%)
CMYKcmyk(14.8%, 0%, 44.4%, 44.3%)
CIE-LABlab(56.06, -18.42, 31.03)
CIE-LCHlch(56.06, 36.09, 120.69°)
OKLaboklab(61.48% -0.051 0.0753)
OKLCHoklch(61.48% 0.091 124.1)
XYZxyz(18.9694, 23.9754, 11.0240)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4F #644F8E
analogous
#8E834F #798E4F #598E4F
triadic
#798E4F #4F798E #8E4F79
tetradic
#798E4F #4F8E83 #644F8E #8E4F59
square
#798E4F #4F8E83 #644F8E #8E4F59
split-complementary
#798E4F #4F598E #834F8E
monochromatic
#363F23 #576739 #798E4F #98AE6D #B4C394

Accessibility & contrast

On white

3.62
#798E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#798E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E4F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E4F#FFFFFF#000000##000000
##798E4F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874A
Deuteranopia (green-blind)
#918652
Tritanopia (blue-blind)
#7D897F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4f;
/* rgb */ color: rgb(121, 142, 79);
/* oklch */ color: oklch(61.5% 0.091 124.1);
Tailwind
colors: {
  custom: {
    50: '#a1af81',
    500: '#798e4f',
    950: '#000000',
  },
}
SCSS
$custom: #798e4f;
$custom-light: #a1af81;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4f",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 80,
    "s": 28.507,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.09094,
    "h": 124.1
  },
  "luminance": 0.23975
}

Semantic roles & 50–950 ramp

primary
#798E4F
secondary
#9689B0
accent
#63C584
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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