#798D3A#798D3A

#798D3A is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.112 H 121.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#798D3A
RGBrgb(121, 141, 58)
HSLhsl(74, 42%, 39%)
HSVhsv(74, 59%, 55%)
CMYKcmyk(14.2%, 0%, 58.9%, 44.7%)
CIE-LABlab(55.50, -20.15, 41.06)
CIE-LCHlch(55.50, 45.74, 116.14°)
OKLaboklab(60.95% -0.0577 0.0955)
OKLCHoklch(60.95% 0.112 121.2)
XYZxyz(18.1739, 23.4202, 7.5653)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D3A #4E3A8D
analogous
#8D783A #798D3A #508D3A
triadic
#798D3A #3A798D #8D3A79
tetradic
#798D3A #3A8D78 #4E3A8D #8D3A50
square
#798D3A #3A8D78 #4E3A8D #8D3A50
split-complementary
#798D3A #3A508D #783A8D
monochromatic
#2F3616 #546228 #798D3A #9DB64E #B5C879

Accessibility & contrast

On white

3.69
#798D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#798D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D3A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D3A#FFFFFF#000000##000000
##798D3A1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958531
Deuteranopia (green-blind)
#93853F
Tritanopia (blue-blind)
#7F867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d3a;
/* rgb */ color: rgb(121, 141, 58);
/* oklch */ color: oklch(60.9% 0.112 121.2);
Tailwind
colors: {
  custom: {
    50: '#a2ae73',
    500: '#798d3a',
    950: '#000000',
  },
}
SCSS
$custom: #798d3a;
$custom-light: #a2ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#798d3a",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 74.458,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.11159,
    "h": 121.2
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#798D3A
secondary
#8171B1
accent
#56D274
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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