#798B41#798B41

#798B41 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.102 H 120.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#798B41
RGBrgb(121, 139, 65)
HSLhsl(75, 36%, 40%)
HSVhsv(75, 53%, 55%)
CMYKcmyk(12.9%, 0%, 53.2%, 45.5%)
CIE-LABlab(54.98, -18.44, 37.00)
CIE-LCHlch(54.98, 41.34, 116.49°)
OKLaboklab(60.55% -0.0522 0.0875)
OKLCHoklch(60.55% 0.102 120.8)
XYZxyz(18.0720, 22.9119, 8.4704)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B41 #53418B
analogous
#8B7841 #798B41 #548B41
triadic
#798B41 #41798B #8B4179
tetradic
#798B41 #418B78 #53418B #8B4154
square
#798B41 #418B78 #53418B #8B4154
split-complementary
#798B41 #41548B #78418B
monochromatic
#30381A #55612D #798B41 #9BB158 #B4C582

Accessibility & contrast

On white

3.76
#798B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#798B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B41
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B41#FFFFFF#000000##000000
##798B411.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#908445
Tritanopia (blue-blind)
#7F857A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798b41;
/* rgb */ color: rgb(121, 139, 65);
/* oklch */ color: oklch(60.6% 0.102 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ac78',
    500: '#798b41',
    950: '#000000',
  },
}
SCSS
$custom: #798b41;
$custom-light: #a1ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#798b41",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 74.595,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.1019,
    "h": 120.8
  },
  "luminance": 0.22912
}

Semantic roles & 50–950 ramp

primary
#798B41
secondary
#8679AF
accent
#5CCC77
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798B41

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

Preview Lab → · Contrast checker → · Palette generator →

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