#798C4E#798C4E

#798C4E is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.0% C 0.089 H 123.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#798C4E
RGBrgb(121, 140, 78)
HSLhsl(78, 28%, 43%)
HSVhsv(78, 44%, 55%)
CMYKcmyk(13.6%, 0%, 44.3%, 45.1%)
CIE-LABlab(55.45, -17.50, 30.80)
CIE-LCHlch(55.45, 35.42, 119.60°)
OKLaboklab(60.99% -0.0485 0.0747)
OKLCHoklch(60.99% 0.089 123)
XYZxyz(18.6384, 23.3711, 10.7354)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C4E #614E8C
analogous
#8C804E #798C4E #5A8C4E
triadic
#798C4E #4E798C #8C4E79
tetradic
#798C4E #4E8C80 #614E8C #8C4E5A
square
#798C4E #4E8C80 #614E8C #8C4E5A
split-complementary
#798C4E #4E5A8C #804E8C
monochromatic
#353D22 #576538 #798C4E #98AC6B #B4C292

Accessibility & contrast

On white

3.70
#798C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#798C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C4E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C4E#FFFFFF#000000##000000
##798C4E1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#7D877D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798c4e;
/* rgb */ color: rgb(121, 140, 78);
/* oklch */ color: oklch(61.0% 0.089 123.0);
Tailwind
colors: {
  custom: {
    50: '#a1ad81',
    500: '#798c4e',
    950: '#000000',
  },
}
SCSS
$custom: #798c4e;
$custom-light: #a1ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#798c4e",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 78.387,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.08906,
    "h": 123
  },
  "luminance": 0.23371
}

Semantic roles & 50–950 ramp

primary
#798C4E
secondary
#9387AF
accent
#63C581
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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