#798E59#798E59

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

Color values

HEX#798E59
RGBrgb(121, 142, 89)
HSLhsl(84, 23%, 45%)
HSVhsv(84, 37%, 56%)
CMYKcmyk(14.8%, 0%, 37.3%, 44.3%)
CIE-LABlab(56.22, -17.10, 25.82)
CIE-LCHlch(56.22, 30.96, 123.52°)
OKLaboklab(61.66% -0.0467 0.0638)
OKLCHoklch(61.66% 0.079 126.2)
XYZxyz(19.3611, 24.1321, 13.0872)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E59 #6E598E
analogous
#8E8959 #798E59 #5E8E59
triadic
#798E59 #59798E #8E5979
tetradic
#798E59 #598E89 #6E598E #8E595E
square
#798E59 #598E89 #6E598E #8E595E
split-complementary
#798E59 #595E8E #89598E
monochromatic
#39432A #596841 #798E59 #97AB79 #B4C39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E59#FFFFFF#000000##000000
##798E591.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)
#938855
Deuteranopia (green-blind)
#90865C
Tritanopia (blue-blind)
#7C8981
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e59;
/* rgb */ color: rgb(121, 142, 89);
/* oklch */ color: oklch(61.7% 0.079 126.2);
Tailwind
colors: {
  custom: {
    50: '#a0af88',
    500: '#798e59',
    950: '#000000',
  },
}
SCSS
$custom: #798e59;
$custom-light: #a0af88;
$custom-dark: #000000;
JSON
{
  "hex": "#798e59",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 89
  },
  "hsl": {
    "h": 83.774,
    "s": 22.944,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.07907,
    "h": 126.2
  },
  "luminance": 0.24132
}

Semantic roles & 50–950 ramp

primary
#798E59
secondary
#9E92B0
accent
#68BF8B
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E59

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

Preview Lab → · Contrast checker → · Palette generator →

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