#798E4A#798E4A

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

Color values

HEX#798E4A
RGBrgb(121, 142, 74)
HSLhsl(79, 31%, 42%)
HSVhsv(79, 48%, 56%)
CMYKcmyk(14.8%, 0%, 47.9%, 44.3%)
CIE-LABlab(55.99, -19.02, 33.59)
CIE-LCHlch(55.99, 38.60, 119.52°)
OKLaboklab(61.4% -0.0531 0.0807)
OKLCHoklch(61.4% 0.097 123.3)
XYZxyz(18.7942, 23.9053, 10.1013)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4A #5F4A8E
analogous
#8E814A #798E4A #578E4A
triadic
#798E4A #4A798E #8E4A79
tetradic
#798E4A #4A8E81 #5F4A8E #8E4A57
square
#798E4A #4A8E81 #5F4A8E #8E4A57
split-complementary
#798E4A #4A578E #814A8E
monochromatic
#343E20 #576635 #798E4A #99AF66 #B4C48E

Accessibility & contrast

On white

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

On black

5.78
#798E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E4A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E4A#FFFFFF#000000##000000
##798E4A1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958744
Deuteranopia (green-blind)
#92864E
Tritanopia (blue-blind)
#7E887E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4a;
/* rgb */ color: rgb(121, 142, 74);
/* oklch */ color: oklch(61.4% 0.097 123.3);
Tailwind
colors: {
  custom: {
    50: '#a1af7e',
    500: '#798e4a',
    950: '#000000',
  },
}
SCSS
$custom: #798e4a;
$custom-light: #a1af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4a",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 78.529,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.09659,
    "h": 123.3
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#798E4A
secondary
#9184B0
accent
#60C880
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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