#798D41#798D41

#798D41 is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.105 H 121.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#798D41
RGBrgb(121, 141, 65)
HSLhsl(76, 37%, 40%)
HSVhsv(76, 54%, 55%)
CMYKcmyk(14.2%, 0%, 53.9%, 44.7%)
CIE-LABlab(55.58, -19.48, 37.71)
CIE-LCHlch(55.58, 42.44, 117.32°)
OKLaboklab(61.03% -0.0552 0.089)
OKLCHoklch(61.03% 0.105 121.8)
XYZxyz(18.3643, 23.4963, 8.5678)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D41 #55418D
analogous
#8D7B41 #798D41 #538D41
triadic
#798D41 #41798D #8D4179
tetradic
#798D41 #418D7B #55418D #8D4153
square
#798D41 #418D7B #55418D #8D4153
split-complementary
#798D41 #41538D #7B418D
monochromatic
#31391A #55632E #798D41 #9BB259 #B4C683

Accessibility & contrast

On white

3.68
#798D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#798D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D41
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D41#FFFFFF#000000##000000
##798D411.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863A
Deuteranopia (green-blind)
#928546
Tritanopia (blue-blind)
#7E877C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d41;
/* rgb */ color: rgb(121, 141, 65);
/* oklch */ color: oklch(61.0% 0.105 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1ae78',
    500: '#798d41',
    950: '#000000',
  },
}
SCSS
$custom: #798d41;
$custom-light: #a1ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#798d41",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 75.789,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.10473,
    "h": 121.8
  },
  "luminance": 0.23496
}

Semantic roles & 50–950 ramp

primary
#798D41
secondary
#8879B0
accent
#5BCD79
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798D41

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

Preview Lab → · Contrast checker → · Palette generator →

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