#798A41#798A41

#798A41 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.3% C 0.100 H 120.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#798A41
RGBrgb(121, 138, 65)
HSLhsl(74, 36%, 40%)
HSVhsv(74, 53%, 54%)
CMYKcmyk(12.3%, 0%, 52.9%, 45.9%)
CIE-LABlab(54.68, -17.92, 36.65)
CIE-LCHlch(54.68, 40.80, 116.05°)
OKLaboklab(60.31% -0.0508 0.0867)
OKLCHoklch(60.31% 0.1 120.4)
XYZxyz(17.9279, 22.6236, 8.4223)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A41 #52418A
analogous
#8A7741 #798A41 #548A41
triadic
#798A41 #41798A #8A4179
tetradic
#798A41 #418A77 #52418A #8A4154
square
#798A41 #418A77 #52418A #8A4154
split-complementary
#798A41 #41548A #77418A
monochromatic
#30371A #55602D #798A41 #9CB058 #B4C482

Accessibility & contrast

On white

3.80
#798A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#798A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A41
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A41#FFFFFF#000000##000000
##798A411.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#908345
Tritanopia (blue-blind)
#7F8479
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798a41;
/* rgb */ color: rgb(121, 138, 65);
/* oklch */ color: oklch(60.3% 0.100 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ac78',
    500: '#798a41',
    950: '#000000',
  },
}
SCSS
$custom: #798a41;
$custom-light: #a1ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#798a41",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 73.973,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.10048,
    "h": 120.4
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#798A41
secondary
#8578AE
accent
#5CCC76
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798A41

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

Preview Lab → · Contrast checker → · Palette generator →

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