#798D4E#798D4E

#798D4E is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.091 H 123.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#798D4E
RGBrgb(121, 141, 78)
HSLhsl(79, 29%, 43%)
HSVhsv(79, 45%, 55%)
CMYKcmyk(14.2%, 0%, 44.7%, 44.7%)
CIE-LABlab(55.75, -18.02, 31.17)
CIE-LCHlch(55.75, 36.01, 120.03°)
OKLaboklab(61.22% -0.05 0.0756)
OKLCHoklch(61.22% 0.091 123.5)
XYZxyz(18.7851, 23.6647, 10.7843)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D4E #624E8D
analogous
#8D814E #798D4E #598D4E
triadic
#798D4E #4E798D #8D4E79
tetradic
#798D4E #4E8D81 #624E8D #8D4E59
square
#798D4E #4E8D81 #624E8D #8D4E59
split-complementary
#798D4E #4E598D #814E8D
monochromatic
#353E22 #576638 #798D4E #98AD6B #B4C392

Accessibility & contrast

On white

3.66
#798D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#798D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D4E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D4E#FFFFFF#000000##000000
##798D4E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#918551
Tritanopia (blue-blind)
#7D877E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798d4e;
/* rgb */ color: rgb(121, 141, 78);
/* oklch */ color: oklch(61.2% 0.091 123.5);
Tailwind
colors: {
  custom: {
    50: '#a1ae81',
    500: '#798d4e',
    950: '#000000',
  },
}
SCSS
$custom: #798d4e;
$custom-light: #a1ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#798d4e",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 79.048,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.09057,
    "h": 123.5
  },
  "luminance": 0.23665
}

Semantic roles & 50–950 ramp

primary
#798D4E
secondary
#9487AF
accent
#63C582
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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