#798E3E#798E3E

#798E3E is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.109 H 121.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#798E3E
RGBrgb(121, 142, 62)
HSLhsl(76, 39%, 40%)
HSVhsv(76, 56%, 56%)
CMYKcmyk(14.8%, 0%, 56.3%, 44.3%)
CIE-LABlab(55.85, -20.29, 39.51)
CIE-LCHlch(55.85, 44.41, 117.18°)
OKLaboklab(61.23% -0.0577 0.0926)
OKLCHoklch(61.23% 0.109 121.9)
XYZxyz(18.4278, 23.7587, 8.1716)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E3E #533E8E
analogous
#8E7B3E #798E3E #518E3E
triadic
#798E3E #3E798E #8E3E79
tetradic
#798E3E #3E8E7B #533E8E #8E3E51
square
#798E3E #3E8E7B #533E8E #8E3E51
split-complementary
#798E3E #3E518E #7B3E8E
monochromatic
#303919 #55632B #798E3E #9BB555 #B4C77F

Accessibility & contrast

On white

3.65
#798E3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#798E3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E3E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E3E#FFFFFF#000000##000000
##798E3E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968636
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#7F877C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e3e;
/* rgb */ color: rgb(121, 142, 62);
/* oklch */ color: oklch(61.2% 0.109 121.9);
Tailwind
colors: {
  custom: {
    50: '#a1af76',
    500: '#798e3e',
    950: '#000000',
  },
}
SCSS
$custom: #798e3e;
$custom-light: #a1af76;
$custom-dark: #000000;
JSON
{
  "hex": "#798e3e",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 62
  },
  "hsl": {
    "h": 75.75,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.10914,
    "h": 121.9
  },
  "luminance": 0.23759
}

Semantic roles & 50–950 ramp

primary
#798E3E
secondary
#8676B1
accent
#59CF78
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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