#798D49#798D49

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

Color values

HEX#798D49
RGBrgb(121, 141, 73)
HSLhsl(78, 32%, 42%)
HSVhsv(78, 48%, 55%)
CMYKcmyk(14.2%, 0%, 48.2%, 44.7%)
CIE-LABlab(55.68, -18.62, 33.73)
CIE-LCHlch(55.68, 38.52, 118.90°)
OKLaboklab(61.15% -0.052 0.0809)
OKLCHoklch(61.15% 0.096 122.7)
XYZxyz(18.6127, 23.5957, 9.8759)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D49 #5D498D
analogous
#8D7F49 #798D49 #578D49
triadic
#798D49 #49798D #8D4979
tetradic
#798D49 #498D7F #5D498D #8D4957
square
#798D49 #498D7F #5D498D #8D4957
split-complementary
#798D49 #49578D #7F498D
monochromatic
#343C1F #566534 #798D49 #99AF64 #B4C48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798D49#FFFFFF#000000##000000
##798D491.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)
#948643
Deuteranopia (green-blind)
#91854D
Tritanopia (blue-blind)
#7E877D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d49;
/* rgb */ color: rgb(121, 141, 73);
/* oklch */ color: oklch(61.1% 0.096 122.7);
Tailwind
colors: {
  custom: {
    50: '#a1ae7d',
    500: '#798d49',
    950: '#000000',
  },
}
SCSS
$custom: #798d49;
$custom-light: #a1ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#798d49",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 77.647,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.09622,
    "h": 122.7
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#798D49
secondary
#9082B0
accent
#60C87E
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798D49

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

Preview Lab → · Contrast checker → · Palette generator →

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