#798D59#798D59

#798D59 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.077 H 125.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#798D59
RGBrgb(121, 141, 89)
HSLhsl(83, 23%, 45%)
HSVhsv(83, 37%, 55%)
CMYKcmyk(14.2%, 0%, 36.9%, 44.7%)
CIE-LABlab(55.92, -16.57, 25.43)
CIE-LCHlch(55.92, 30.35, 123.09°)
OKLaboklab(61.42% -0.0452 0.0629)
OKLCHoklch(61.42% 0.077 125.7)
XYZxyz(19.2130, 23.8358, 13.0378)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D59 #6D598D
analogous
#8D8759 #798D59 #5F8D59
triadic
#798D59 #59798D #8D5979
tetradic
#798D59 #598D87 #6D598D #8D595F
square
#798D59 #598D87 #6D598D #8D595F
split-complementary
#798D59 #595F8D #87598D
monochromatic
#39422A #596741 #798D59 #97AA79 #B4C29E

Accessibility & contrast

On white

3.64
#798D59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#798D59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D59
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D59#FFFFFF#000000##000000
##798D591.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928755
Deuteranopia (green-blind)
#8F865C
Tritanopia (blue-blind)
#7C8880
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798d59;
/* rgb */ color: rgb(121, 141, 89);
/* oklch */ color: oklch(61.4% 0.077 125.7);
Tailwind
colors: {
  custom: {
    50: '#a0ae88',
    500: '#798d59',
    950: '#000000',
  },
}
SCSS
$custom: #798d59;
$custom-light: #a0ae88;
$custom-dark: #000000;
JSON
{
  "hex": "#798d59",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 89
  },
  "hsl": {
    "h": 83.077,
    "s": 22.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.07747,
    "h": 125.7
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#798D59
secondary
#9D92B0
accent
#69BF8A
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798D59

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

Preview Lab → · Contrast checker → · Palette generator →

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