#798E4D#798E4D

#798E4D is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.093 H 123.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#798E4D
RGBrgb(121, 142, 77)
HSLhsl(79, 30%, 43%)
HSVhsv(79, 46%, 56%)
CMYKcmyk(14.8%, 0%, 45.8%, 44.3%)
CIE-LABlab(56.03, -18.67, 32.06)
CIE-LCHlch(56.03, 37.10, 120.21°)
OKLaboklab(61.45% -0.0518 0.0775)
OKLCHoklch(61.45% 0.093 123.8)
XYZxyz(18.8977, 23.9467, 10.6463)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4D #624D8E
analogous
#8E824D #798E4D #588E4D
triadic
#798E4D #4D798E #8E4D79
tetradic
#798E4D #4D8E82 #624D8E #8E4D58
square
#798E4D #4D8E82 #624D8E #8E4D58
split-complementary
#798E4D #4D588E #824D8E
monochromatic
#353F22 #576637 #798E4D #98AE6A #B4C492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E4D#FFFFFF#000000##000000
##798E4D1.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)
#958748
Deuteranopia (green-blind)
#928651
Tritanopia (blue-blind)
#7D887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4d;
/* rgb */ color: rgb(121, 142, 77);
/* oklch */ color: oklch(61.4% 0.093 123.8);
Tailwind
colors: {
  custom: {
    50: '#a1af80',
    500: '#798e4d',
    950: '#000000',
  },
}
SCSS
$custom: #798e4d;
$custom-light: #a1af80;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4d",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 79.385,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.09322,
    "h": 123.8
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#798E4D
secondary
#9487B0
accent
#62C682
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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