#798E61#798E61

#798E61 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.8% C 0.069 H 128.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#798E61
RGBrgb(121, 142, 97)
HSLhsl(88, 19%, 47%)
HSVhsv(88, 32%, 56%)
CMYKcmyk(14.8%, 0%, 31.7%, 44.3%)
CIE-LABlab(56.36, -15.92, 21.57)
CIE-LCHlch(56.36, 26.81, 126.43°)
OKLaboklab(61.82% -0.0431 0.0541)
OKLCHoklch(61.82% 0.069 128.6)
XYZxyz(19.7155, 24.2738, 14.9536)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E61 #76618E
analogous
#8E8D61 #798E61 #638E61
triadic
#798E61 #61798E #8E6179
tetradic
#798E61 #618E8D #76618E #8E6163
square
#798E61 #618E8D #76618E #8E6163
split-complementary
#798E61 #61638E #8D618E
monochromatic
#3B452F #5A6A48 #798E61 #97AA82 #B6C3A7

Accessibility & contrast

On white

3.59
#798E61 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#798E61 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E61
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E61#FFFFFF#000000##000000
##798E611.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92885E
Deuteranopia (green-blind)
#8F8763
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e61;
/* rgb */ color: rgb(121, 142, 97);
/* oklch */ color: oklch(61.8% 0.069 128.6);
Tailwind
colors: {
  custom: {
    50: '#a0af8e',
    500: '#798e61',
    950: '#000000',
  },
}
SCSS
$custom: #798e61;
$custom-light: #a0af8e;
$custom-dark: #000000;
JSON
{
  "hex": "#798e61",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 97
  },
  "hsl": {
    "h": 88,
    "s": 18.828,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.06916,
    "h": 128.6
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#798E61
secondary
#A59AB1
accent
#6CBB91
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798E61

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

Preview Lab → · Contrast checker → · Palette generator →

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