#798B37#798B37

#798B37 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.112 H 120.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#798B37
RGBrgb(121, 139, 55)
HSLhsl(73, 43%, 38%)
HSVhsv(73, 60%, 55%)
CMYKcmyk(12.9%, 0%, 60.4%, 45.5%)
CIE-LABlab(54.87, -19.38, 41.78)
CIE-LCHlch(54.87, 46.05, 114.88°)
OKLaboklab(60.43% -0.0559 0.0967)
OKLCHoklch(60.43% 0.112 120)
XYZxyz(17.8076, 22.8061, 7.0776)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B37 #49378B
analogous
#8B7337 #798B37 #4F8B37
triadic
#798B37 #37798B #8B3779
tetradic
#798B37 #378B73 #49378B #8B374F
square
#798B37 #378B73 #49378B #8B374F
split-complementary
#798B37 #374F8B #73378B
monochromatic
#2D3314 #535F26 #798B37 #9FB748 #B6C874

Accessibility & contrast

On white

3.78
#798B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#798B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B37
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B37#FFFFFF#000000##000000
##798B371.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832E
Deuteranopia (green-blind)
#91843C
Tritanopia (blue-blind)
#7F8479
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798b37;
/* rgb */ color: rgb(121, 139, 55);
/* oklch */ color: oklch(60.4% 0.112 120.0);
Tailwind
colors: {
  custom: {
    50: '#a2ac71',
    500: '#798b37',
    950: '#000000',
  },
}
SCSS
$custom: #798b37;
$custom-light: #a2ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#798b37",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 72.857,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.11166,
    "h": 120
  },
  "luminance": 0.22806
}

Semantic roles & 50–950 ramp

primary
#798B37
secondary
#7B6DB1
accent
#55D370
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798B37

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

Preview Lab → · Contrast checker → · Palette generator →

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