#798C3D#798C3D

#798C3D is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.7% C 0.107 H 121.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#798C3D
RGBrgb(121, 140, 61)
HSLhsl(74, 39%, 39%)
HSVhsv(74, 56%, 55%)
CMYKcmyk(13.6%, 0%, 56.4%, 45.1%)
CIE-LABlab(55.23, -19.35, 39.30)
CIE-LCHlch(55.23, 43.80, 116.22°)
OKLaboklab(60.74% -0.0552 0.0921)
OKLCHoklch(60.74% 0.107 121)
XYZxyz(18.1057, 23.1581, 7.9301)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C3D #503D8C
analogous
#8C773D #798C3D #528C3D
triadic
#798C3D #3D798C #8C3D79
tetradic
#798C3D #3D8C77 #503D8C #8C3D52
square
#798C3D #3D8C77 #503D8C #8C3D52
split-complementary
#798C3D #3D528C #773D8C
monochromatic
#2F3718 #54612A #798C3D #9CB452 #B5C67D

Accessibility & contrast

On white

3.73
#798C3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#798C3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C3D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C3D#FFFFFF#000000##000000
##798C3D1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948535
Deuteranopia (green-blind)
#928442
Tritanopia (blue-blind)
#7F857B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798c3d;
/* rgb */ color: rgb(121, 140, 61);
/* oklch */ color: oklch(60.7% 0.107 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ad75',
    500: '#798c3d',
    950: '#000000',
  },
}
SCSS
$custom: #798c3d;
$custom-light: #a1ad75;
$custom-dark: #000000;
JSON
{
  "hex": "#798c3d",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 61
  },
  "hsl": {
    "h": 74.43,
    "s": 39.303,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.10734,
    "h": 121
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#798C3D
secondary
#8375B0
accent
#59CF75
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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