#798F41#798F41

#798F41 is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.5% C 0.108 H 122.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#798F41
RGBrgb(121, 143, 65)
HSLhsl(77, 38%, 41%)
HSVhsv(77, 55%, 56%)
CMYKcmyk(15.4%, 0%, 54.5%, 43.9%)
CIE-LABlab(56.18, -20.51, 38.41)
CIE-LCHlch(56.18, 43.55, 118.10°)
OKLaboklab(61.51% -0.0581 0.0906)
OKLCHoklch(61.51% 0.108 122.7)
XYZxyz(18.6618, 24.0915, 8.6670)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F41 #57418F
analogous
#8F7E41 #798F41 #528F41
triadic
#798F41 #41798F #8F4179
tetradic
#798F41 #418F7E #57418F #8F4152
square
#798F41 #418F7E #57418F #8F4152
split-complementary
#798F41 #41528F #7E418F
monochromatic
#323B1B #55652E #798F41 #9AB459 #B4C784

Accessibility & contrast

On white

3.61
#798F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#798F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F41
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F41#FFFFFF#000000##000000
##798F411.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#948746
Tritanopia (blue-blind)
#7E897E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798f41;
/* rgb */ color: rgb(121, 143, 65);
/* oklch */ color: oklch(61.5% 0.108 122.7);
Tailwind
colors: {
  custom: {
    50: '#a1af78',
    500: '#798f41',
    950: '#000000',
  },
}
SCSS
$custom: #798f41;
$custom-light: #a1af78;
$custom-dark: #000000;
JSON
{
  "hex": "#798f41",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 76.923,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.10757,
    "h": 122.7
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#798F41
secondary
#8A7AB1
accent
#5ACD7B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798F41

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

Preview Lab → · Contrast checker → · Palette generator →

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