#798D55#798D55

#798D55 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.082 H 124.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#798D55
RGBrgb(121, 141, 85)
HSLhsl(81, 25%, 44%)
HSVhsv(81, 40%, 55%)
CMYKcmyk(14.2%, 0%, 39.7%, 44.7%)
CIE-LABlab(55.86, -17.12, 27.53)
CIE-LCHlch(55.86, 32.42, 121.88°)
OKLaboklab(61.35% -0.047 0.0676)
OKLCHoklch(61.35% 0.082 124.8)
XYZxyz(19.0496, 23.7705, 12.1771)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D55 #69558D
analogous
#8D8555 #798D55 #5D8D55
triadic
#798D55 #55798D #8D5579
tetradic
#798D55 #558D85 #69558D #8D555D
square
#798D55 #558D85 #69558D #8D555D
split-complementary
#798D55 #555D8D #85558D
monochromatic
#374127 #58673E #798D55 #97AB74 #B4C29A

Accessibility & contrast

On white

3.65
#798D55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#798D55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D55
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D55#FFFFFF#000000##000000
##798D551.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938751
Deuteranopia (green-blind)
#908658
Tritanopia (blue-blind)
#7D887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798d55;
/* rgb */ color: rgb(121, 141, 85);
/* oklch */ color: oklch(61.3% 0.082 124.8);
Tailwind
colors: {
  custom: {
    50: '#a0ae85',
    500: '#798d55',
    950: '#000000',
  },
}
SCSS
$custom: #798d55;
$custom-light: #a0ae85;
$custom-dark: #000000;
JSON
{
  "hex": "#798d55",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 85
  },
  "hsl": {
    "h": 81.429,
    "s": 24.779,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.08233,
    "h": 124.8
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#798D55
secondary
#9A8EB0
accent
#67C187
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798D55

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

Preview Lab → · Contrast checker → · Palette generator →

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