#798F4E#798F4E

#798F4E is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.094 H 124.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#798F4E
RGBrgb(121, 143, 78)
HSLhsl(80, 29%, 43%)
HSVhsv(80, 45%, 56%)
CMYKcmyk(15.4%, 0%, 45.5%, 43.9%)
CIE-LABlab(56.35, -19.06, 31.92)
CIE-LCHlch(56.35, 37.18, 120.85°)
OKLaboklab(61.7% -0.0529 0.0772)
OKLCHoklch(61.7% 0.094 124.4)
XYZxyz(19.0827, 24.2598, 10.8835)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F4E #644E8F
analogous
#8F844E #798F4E #588F4E
triadic
#798F4E #4E798F #8F4E79
tetradic
#798F4E #4E8F84 #644E8F #8F4E58
square
#798F4E #4E8F84 #644E8F #8F4E58
split-complementary
#798F4E #4E588F #844E8F
monochromatic
#364023 #576738 #798F4E #98AF6C #B4C493

Accessibility & contrast

On white

3.59
#798F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#798F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F4E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F4E#FFFFFF#000000##000000
##798F4E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958849
Deuteranopia (green-blind)
#928752
Tritanopia (blue-blind)
#7D897F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798f4e;
/* rgb */ color: rgb(121, 143, 78);
/* oklch */ color: oklch(61.7% 0.094 124.4);
Tailwind
colors: {
  custom: {
    50: '#a1af81',
    500: '#798f4e',
    950: '#000000',
  },
}
SCSS
$custom: #798f4e;
$custom-light: #a1af81;
$custom-dark: #000000;
JSON
{
  "hex": "#798f4e",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 80.308,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.0936,
    "h": 124.4
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#798F4E
secondary
#9688B1
accent
#62C684
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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