#798E50#798E50

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

Color values

HEX#798E50
RGBrgb(121, 142, 80)
HSLhsl(80, 28%, 44%)
HSVhsv(80, 44%, 56%)
CMYKcmyk(14.8%, 0%, 43.7%, 44.3%)
CIE-LABlab(56.08, -18.30, 30.52)
CIE-LCHlch(56.08, 35.58, 120.94°)
OKLaboklab(61.5% -0.0506 0.0742)
OKLCHoklch(61.5% 0.09 124.3)
XYZxyz(19.0061, 23.9900, 11.2171)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E50 #65508E
analogous
#8E8450 #798E50 #5A8E50
triadic
#798E50 #50798E #8E5079
tetradic
#798E50 #508E84 #65508E #8E505A
square
#798E50 #508E84 #65508E #8E505A
split-complementary
#798E50 #505A8E #84508E
monochromatic
#364024 #58673A #798E50 #98AD6E #B4C395

Accessibility & contrast

On white

3.62
#798E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#798E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E50
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E50#FFFFFF#000000##000000
##798E501.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874B
Deuteranopia (green-blind)
#918653
Tritanopia (blue-blind)
#7D897F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e50;
/* rgb */ color: rgb(121, 142, 80);
/* oklch */ color: oklch(61.5% 0.090 124.3);
Tailwind
colors: {
  custom: {
    50: '#a1af82',
    500: '#798e50',
    950: '#000000',
  },
}
SCSS
$custom: #798e50;
$custom-light: #a1af82;
$custom-dark: #000000;
JSON
{
  "hex": "#798e50",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 80
  },
  "hsl": {
    "h": 80.323,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.08978,
    "h": 124.3
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#798E50
secondary
#978AB0
accent
#64C484
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E50

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

Preview Lab → · Contrast checker → · Palette generator →

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