#798E5B#798E5B

#798E5B is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.077 H 126.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#798E5B
RGBrgb(121, 142, 91)
HSLhsl(85, 22%, 46%)
HSVhsv(85, 36%, 56%)
CMYKcmyk(14.8%, 0%, 35.9%, 44.3%)
CIE-LABlab(56.25, -16.81, 24.76)
CIE-LCHlch(56.25, 29.93, 124.18°)
OKLaboklab(61.7% -0.0458 0.0614)
OKLCHoklch(61.7% 0.077 126.7)
XYZxyz(19.4463, 24.1661, 13.5355)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E5B #705B8E
analogous
#8E895B #798E5B #5F8E5B
triadic
#798E5B #5B798E #8E5B79
tetradic
#798E5B #5B8E89 #705B8E #8E5B5F
square
#798E5B #5B8E89 #705B8E #8E5B5F
split-complementary
#798E5B #5B5F8E #895B8E
monochromatic
#39432B #596943 #798E5B #97AB7B #B5C3A1

Accessibility & contrast

On white

3.60
#798E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#798E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E5B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E5B#FFFFFF#000000##000000
##798E5B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938857
Deuteranopia (green-blind)
#90875E
Tritanopia (blue-blind)
#7C8A81
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e5b;
/* rgb */ color: rgb(121, 142, 91);
/* oklch */ color: oklch(61.7% 0.077 126.7);
Tailwind
colors: {
  custom: {
    50: '#a0af8a',
    500: '#798e5b',
    950: '#000000',
  },
}
SCSS
$custom: #798e5b;
$custom-light: #a0af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#798e5b",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 84.706,
    "s": 21.888,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.07661,
    "h": 126.7
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#798E5B
secondary
#A094B1
accent
#69BE8C
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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