#798E56#798E56

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

Color values

HEX#798E56
RGBrgb(121, 142, 86)
HSLhsl(83, 25%, 45%)
HSVhsv(83, 39%, 56%)
CMYKcmyk(14.8%, 0%, 39.4%, 44.3%)
CIE-LABlab(56.17, -17.51, 27.39)
CIE-LCHlch(56.17, 32.51, 122.59°)
OKLaboklab(61.6% -0.048 0.0673)
OKLCHoklch(61.6% 0.083 125.5)
XYZxyz(19.2377, 24.0827, 12.4372)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E56 #6B568E
analogous
#8E8756 #798E56 #5D8E56
triadic
#798E56 #56798E #8E5679
tetradic
#798E56 #568E87 #6B568E #8E565D
square
#798E56 #568E87 #6B568E #8E565D
split-complementary
#798E56 #565D8E #87568E
monochromatic
#384228 #59683F #798E56 #97AC75 #B4C39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E56#FFFFFF#000000##000000
##798E561.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)
#948752
Deuteranopia (green-blind)
#918659
Tritanopia (blue-blind)
#7C8980
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e56;
/* rgb */ color: rgb(121, 142, 86);
/* oklch */ color: oklch(61.6% 0.083 125.5);
Tailwind
colors: {
  custom: {
    50: '#a0af86',
    500: '#798e56',
    950: '#000000',
  },
}
SCSS
$custom: #798e56;
$custom-light: #a0af86;
$custom-dark: #000000;
JSON
{
  "hex": "#798e56",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 86
  },
  "hsl": {
    "h": 82.5,
    "s": 24.561,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.0827,
    "h": 125.5
  },
  "luminance": 0.24083
}

Semantic roles & 50–950 ramp

primary
#798E56
secondary
#9C90B0
accent
#67C189
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E56

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

Preview Lab → · Contrast checker → · Palette generator →

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