#798D3D#798D3D

#798D3D is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.109 H 121.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#798D3D
RGBrgb(121, 141, 61)
HSLhsl(75, 40%, 40%)
HSVhsv(75, 57%, 55%)
CMYKcmyk(14.2%, 0%, 56.7%, 44.7%)
CIE-LABlab(55.53, -19.87, 39.64)
CIE-LCHlch(55.53, 44.34, 116.62°)
OKLaboklab(60.98% -0.0567 0.0928)
OKLCHoklch(60.98% 0.109 121.4)
XYZxyz(18.2525, 23.4516, 7.9790)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D3D #513D8D
analogous
#8D793D #798D3D #518D3D
triadic
#798D3D #3D798D #8D3D79
tetradic
#798D3D #3D8D79 #513D8D #8D3D51
square
#798D3D #3D8D79 #513D8D #8D3D51
split-complementary
#798D3D #3D518D #793D8D
monochromatic
#303818 #54622B #798D3D #9CB453 #B5C77D

Accessibility & contrast

On white

3.69
#798D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#798D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D3D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D3D#FFFFFF#000000##000000
##798D3D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958535
Deuteranopia (green-blind)
#928542
Tritanopia (blue-blind)
#7F867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d3d;
/* rgb */ color: rgb(121, 141, 61);
/* oklch */ color: oklch(61.0% 0.109 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1ae75',
    500: '#798d3d',
    950: '#000000',
  },
}
SCSS
$custom: #798d3d;
$custom-light: #a1ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#798d3d",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.10872,
    "h": 121.4
  },
  "luminance": 0.23452
}

Semantic roles & 50–950 ramp

primary
#798D3D
secondary
#8475B1
accent
#58CF76
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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