#798E4E#798E4E

#798E4E is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.5% C 0.092 H 124.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#798E4E
RGBrgb(121, 142, 78)
HSLhsl(80, 29%, 43%)
HSVhsv(80, 45%, 56%)
CMYKcmyk(14.8%, 0%, 45.1%, 44.3%)
CIE-LABlab(56.05, -18.54, 31.55)
CIE-LCHlch(56.05, 36.59, 120.45°)
OKLaboklab(61.46% -0.0514 0.0764)
OKLCHoklch(61.46% 0.092 124)
XYZxyz(18.9333, 23.9609, 10.8337)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4E #634E8E
analogous
#8E834E #798E4E #598E4E
triadic
#798E4E #4E798E #8E4E79
tetradic
#798E4E #4E8E83 #634E8E #8E4E59
square
#798E4E #4E8E83 #634E8E #8E4E59
split-complementary
#798E4E #4E598E #834E8E
monochromatic
#363F23 #576638 #798E4E #98AE6B #B4C493

Accessibility & contrast

On white

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

On black

5.79
#798E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E4E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E4E#FFFFFF#000000##000000
##798E4E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948749
Deuteranopia (green-blind)
#928651
Tritanopia (blue-blind)
#7D887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4e;
/* rgb */ color: rgb(121, 142, 78);
/* oklch */ color: oklch(61.5% 0.092 124.0);
Tailwind
colors: {
  custom: {
    50: '#a1af81',
    500: '#798e4e',
    950: '#000000',
  },
}
SCSS
$custom: #798e4e;
$custom-light: #a1af81;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4e",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 79.688,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.09209,
    "h": 124
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#798E4E
secondary
#9588B0
accent
#62C583
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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