#798A35#798A35

#798A35 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.112 H 119.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#798A35
RGBrgb(121, 138, 53)
HSLhsl(72, 45%, 37%)
HSVhsv(72, 62%, 54%)
CMYKcmyk(12.3%, 0%, 61.6%, 45.9%)
CIE-LABlab(54.55, -19.03, 42.36)
CIE-LCHlch(54.55, 46.44, 114.19°)
OKLaboklab(60.17% -0.0551 0.0977)
OKLCHoklch(60.17% 0.112 119.4)
XYZxyz(17.6165, 22.4990, 6.7822)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A35 #46358A
analogous
#8A7135 #798A35 #4E8A35
triadic
#798A35 #35798A #8A3579
tetradic
#798A35 #358A71 #46358A #8A354E
square
#798A35 #358A71 #46358A #8A354E
split-complementary
#798A35 #354E8A #71358A
monochromatic
#2B3213 #525E24 #798A35 #A0B646 #B7C871

Accessibility & contrast

On white

3.82
#798A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#798A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A35
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A35#FFFFFF#000000##000000
##798A351.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832B
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#808378
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798a35;
/* rgb */ color: rgb(121, 138, 53);
/* oklch */ color: oklch(60.2% 0.112 119.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac70',
    500: '#798a35',
    950: '#000000',
  },
}
SCSS
$custom: #798a35;
$custom-light: #a2ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#798a35",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 72,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.11214,
    "h": 119.4
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#798A35
secondary
#786AB1
accent
#54D46D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798A35

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

Preview Lab → · Contrast checker → · Palette generator →

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