#798B35#798B35

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

Color values

HEX#798B35
RGBrgb(121, 139, 53)
HSLhsl(73, 45%, 38%)
HSVhsv(73, 62%, 55%)
CMYKcmyk(12.9%, 0%, 61.9%, 45.5%)
CIE-LABlab(54.85, -19.55, 42.69)
CIE-LCHlch(54.85, 46.95, 114.60°)
OKLaboklab(60.41% -0.0566 0.0984)
OKLCHoklch(60.41% 0.113 119.9)
XYZxyz(17.7606, 22.7873, 6.8302)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B35 #47358B
analogous
#8B7235 #798B35 #4E8B35
triadic
#798B35 #35798B #8B3579
tetradic
#798B35 #358B72 #47358B #8B354E
square
#798B35 #358B72 #47358B #8B354E
split-complementary
#798B35 #354E8B #72358B
monochromatic
#2C3213 #525F24 #798B35 #A0B746 #B7C971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798B35#FFFFFF#000000##000000
##798B351.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)
#93832B
Deuteranopia (green-blind)
#91843B
Tritanopia (blue-blind)
#7F8479
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798b35;
/* rgb */ color: rgb(121, 139, 53);
/* oklch */ color: oklch(60.4% 0.113 119.9);
Tailwind
colors: {
  custom: {
    50: '#a2ac70',
    500: '#798b35',
    950: '#000000',
  },
}
SCSS
$custom: #798b35;
$custom-light: #a2ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#798b35",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 53
  },
  "hsl": {
    "h": 72.558,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.11347,
    "h": 119.9
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#798B35
secondary
#796AB1
accent
#53D46E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798B35

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

Preview Lab → · Contrast checker → · Palette generator →

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