#798F3D#798F3D

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

Color values

HEX#798F3D
RGBrgb(121, 143, 61)
HSLhsl(76, 40%, 40%)
HSVhsv(76, 57%, 56%)
CMYKcmyk(15.4%, 0%, 57.3%, 43.9%)
CIE-LABlab(56.13, -20.90, 40.33)
CIE-LCHlch(56.13, 45.42, 117.39°)
OKLaboklab(61.46% -0.0595 0.0943)
OKLCHoklch(61.46% 0.112 122.3)
XYZxyz(18.5501, 24.0468, 8.0782)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F3D #533D8F
analogous
#8F7C3D #798F3D #508F3D
triadic
#798F3D #3D798F #8F3D79
tetradic
#798F3D #3D8F7C #533D8F #8F3D50
square
#798F3D #3D8F7C #533D8F #8F3D50
split-complementary
#798F3D #3D508F #7C3D8F
monochromatic
#303918 #55642B #798F3D #9BB653 #B4C87E

Accessibility & contrast

On white

3.61
#798F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798F3D#FFFFFF#000000##000000
##798F3D1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#948742
Tritanopia (blue-blind)
#7F887D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798f3d;
/* rgb */ color: rgb(121, 143, 61);
/* oklch */ color: oklch(61.5% 0.112 122.3);
Tailwind
colors: {
  custom: {
    50: '#a2af75',
    500: '#798f3d',
    950: '#000000',
  },
}
SCSS
$custom: #798f3d;
$custom-light: #a2af75;
$custom-dark: #000000;
JSON
{
  "hex": "#798f3d",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 76.098,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.1115,
    "h": 122.3
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#798F3D
secondary
#8676B2
accent
#58D078
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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