#798D3E#798D3E

#798D3E is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.108 H 121.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#798D3E
RGBrgb(121, 141, 62)
HSLhsl(75, 39%, 40%)
HSVhsv(75, 56%, 55%)
CMYKcmyk(14.2%, 0%, 56%, 44.7%)
CIE-LABlab(55.55, -19.77, 39.16)
CIE-LCHlch(55.55, 43.87, 116.79°)
OKLaboklab(60.99% -0.0563 0.0919)
OKLCHoklch(60.99% 0.108 121.5)
XYZxyz(18.2797, 23.4625, 8.1222)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D3E #523E8D
analogous
#8D7A3E #798D3E #528D3E
triadic
#798D3E #3E798D #8D3E79
tetradic
#798D3E #3E8D7A #523E8D #8D3E52
square
#798D3E #3E8D7A #523E8D #8D3E52
split-complementary
#798D3E #3E528D #7A3E8D
monochromatic
#303819 #55622B #798D3E #9CB454 #B4C77F

Accessibility & contrast

On white

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

On black

5.69
#798D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D3E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D3E#FFFFFF#000000##000000
##798D3E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958536
Deuteranopia (green-blind)
#928543
Tritanopia (blue-blind)
#7F867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d3e;
/* rgb */ color: rgb(121, 141, 62);
/* oklch */ color: oklch(61.0% 0.108 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1ae76',
    500: '#798d3e',
    950: '#000000',
  },
}
SCSS
$custom: #798d3e;
$custom-light: #a1ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#798d3e",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 75.19,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.10774,
    "h": 121.5
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#798D3E
secondary
#8576B1
accent
#59CF77
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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