#798D4A#798D4A

#798D4A is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.2% C 0.095 H 122.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#798D4A
RGBrgb(121, 141, 74)
HSLhsl(78, 31%, 42%)
HSVhsv(78, 48%, 55%)
CMYKcmyk(14.2%, 0%, 47.5%, 44.7%)
CIE-LABlab(55.69, -18.50, 33.22)
CIE-LCHlch(55.69, 38.02, 119.11°)
OKLaboklab(61.16% -0.0516 0.0799)
OKLCHoklch(61.16% 0.095 122.9)
XYZxyz(18.6461, 23.6091, 10.0519)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D4A #5E4A8D
analogous
#8D804A #798D4A #588D4A
triadic
#798D4A #4A798D #8D4A79
tetradic
#798D4A #4A8D80 #5E4A8D #8D4A58
square
#798D4A #4A8D80 #5E4A8D #8D4A58
split-complementary
#798D4A #4A588D #804A8D
monochromatic
#343D20 #576535 #798D4A #99AF66 #B4C48E

Accessibility & contrast

On white

3.67
#798D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#798D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D4A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D4A#FFFFFF#000000##000000
##798D4A1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948644
Deuteranopia (green-blind)
#91854E
Tritanopia (blue-blind)
#7E877D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d4a;
/* rgb */ color: rgb(121, 141, 74);
/* oklch */ color: oklch(61.2% 0.095 122.9);
Tailwind
colors: {
  custom: {
    50: '#a1ae7e',
    500: '#798d4a',
    950: '#000000',
  },
}
SCSS
$custom: #798d4a;
$custom-light: #a1ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#798d4a",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 77.91,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.0951,
    "h": 122.9
  },
  "luminance": 0.23609
}

Semantic roles & 50–950 ramp

primary
#798D4A
secondary
#9083B0
accent
#60C77F
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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