#798D64#798D64

#798D64 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.064 H 129.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#798D64
RGBrgb(121, 141, 100)
HSLhsl(89, 17%, 47%)
HSVhsv(89, 29%, 55%)
CMYKcmyk(14.2%, 0%, 29.1%, 44.7%)
CIE-LABlab(56.12, -14.92, 19.57)
CIE-LCHlch(56.12, 24.61, 127.32°)
OKLaboklab(61.64% -0.0403 0.0493)
OKLCHoklch(61.64% 0.064 129.3)
XYZxyz(19.7099, 24.0346, 15.6549)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D64 #78648D
analogous
#8D8C64 #798D64 #658D64
triadic
#798D64 #64798D #8D6479
tetradic
#798D64 #648D8C #78648D #8D6465
square
#798D64 #648D8C #78648D #8D6465
split-complementary
#798D64 #64658D #8C648D
monochromatic
#3C4531 #5A694B #798D64 #98A985 #B6C2A9

Accessibility & contrast

On white

3.62
#798D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#798D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D64
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D64#FFFFFF#000000##000000
##798D641.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918761
Deuteranopia (green-blind)
#8E8666
Tritanopia (blue-blind)
#7B8982
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798d64;
/* rgb */ color: rgb(121, 141, 100);
/* oklch */ color: oklch(61.6% 0.064 129.3);
Tailwind
colors: {
  custom: {
    50: '#a0ae90',
    500: '#798d64',
    950: '#000000',
  },
}
SCSS
$custom: #798d64;
$custom-light: #a0ae90;
$custom-dark: #000000;
JSON
{
  "hex": "#798d64",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 89.268,
    "s": 17.012,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.06369,
    "h": 129.3
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#798D64
secondary
#A69CB1
accent
#6EBA93
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #798D64

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

Preview Lab → · Contrast checker → · Palette generator →

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