#798B59#798B59

#798B59 is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 60.9% C 0.074 H 124.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#798B59
RGBrgb(121, 139, 89)
HSLhsl(82, 22%, 45%)
HSVhsv(82, 36%, 55%)
CMYKcmyk(12.9%, 0%, 36%, 45.5%)
CIE-LABlab(55.33, -15.51, 24.65)
CIE-LCHlch(55.33, 29.13, 122.18°)
OKLaboklab(60.95% -0.0422 0.0611)
OKLCHoklch(60.95% 0.074 124.7)
XYZxyz(18.9208, 23.2514, 12.9404)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B59 #6B598B
analogous
#8B8459 #798B59 #608B59
triadic
#798B59 #59798B #8B5979
tetradic
#798B59 #598B84 #6B598B #8B5960
square
#798B59 #598B84 #6B598B #8B5960
split-complementary
#798B59 #59608B #84598B
monochromatic
#384029 #596641 #798B59 #97A978 #B4C19E

Accessibility & contrast

On white

3.72
#798B59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#798B59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B59
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B59#FFFFFF#000000##000000
##798B591.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908555
Deuteranopia (green-blind)
#8E845B
Tritanopia (blue-blind)
#7C867E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798b59;
/* rgb */ color: rgb(121, 139, 89);
/* oklch */ color: oklch(60.9% 0.074 124.7);
Tailwind
colors: {
  custom: {
    50: '#a0ad88',
    500: '#798b59',
    950: '#000000',
  },
}
SCSS
$custom: #798b59;
$custom-light: #a0ad88;
$custom-dark: #000000;
JSON
{
  "hex": "#798b59",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 89
  },
  "hsl": {
    "h": 81.6,
    "s": 21.93,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.07428,
    "h": 124.7
  },
  "luminance": 0.23251
}

Semantic roles & 50–950 ramp

primary
#798B59
secondary
#9C91AE
accent
#69BE88
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798B59

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

Preview Lab → · Contrast checker → · Palette generator →

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