#798D46#798D46

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

Color values

HEX#798D46
RGBrgb(121, 141, 70)
HSLhsl(77, 34%, 41%)
HSVhsv(77, 50%, 55%)
CMYKcmyk(14.2%, 0%, 50.4%, 44.7%)
CIE-LABlab(55.64, -18.95, 35.24)
CIE-LCHlch(55.64, 40.01, 118.27°)
OKLaboklab(61.1% -0.0532 0.0841)
OKLCHoklch(61.1% 0.099 122.3)
XYZxyz(18.5156, 23.5569, 9.3647)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D46 #5A468D
analogous
#8D7E46 #798D46 #568D46
triadic
#798D46 #46798D #8D4679
tetradic
#798D46 #468D7E #5A468D #8D4656
square
#798D46 #468D7E #5A468D #8D4656
split-complementary
#798D46 #46568D #7E468D
monochromatic
#333B1D #566432 #798D46 #9AB060 #B4C489

Accessibility & contrast

On white

3.68
#798D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#798D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D46
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D46#FFFFFF#000000##000000
##798D461.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948640
Deuteranopia (green-blind)
#92854A
Tritanopia (blue-blind)
#7E877D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d46;
/* rgb */ color: rgb(121, 141, 70);
/* oklch */ color: oklch(61.1% 0.099 122.3);
Tailwind
colors: {
  custom: {
    50: '#a1ae7b',
    500: '#798d46',
    950: '#000000',
  },
}
SCSS
$custom: #798d46;
$custom-light: #a1ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#798d46",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 76.901,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.09949,
    "h": 122.3
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#798D46
secondary
#8D7FB0
accent
#5ECA7C
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798D46

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

Preview Lab → · Contrast checker → · Palette generator →

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