#798D36#798D36

#798D36 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.115 H 120.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#798D36
RGBrgb(121, 141, 54)
HSLhsl(74, 45%, 38%)
HSVhsv(74, 62%, 55%)
CMYKcmyk(14.2%, 0%, 61.7%, 44.7%)
CIE-LABlab(55.46, -20.49, 42.90)
CIE-LCHlch(55.46, 47.54, 115.53°)
OKLaboklab(60.9% -0.0591 0.0989)
OKLCHoklch(60.9% 0.115 120.9)
XYZxyz(18.0761, 23.3811, 7.0500)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D36 #4A368D
analogous
#8D7536 #798D36 #4D8D36
triadic
#798D36 #36798D #8D3679
tetradic
#798D36 #368D75 #4A368D #8D364D
square
#798D36 #368D75 #4A368D #8D364D
split-complementary
#798D36 #364D8D #75368D
monochromatic
#2D3414 #536125 #798D36 #9FB947 #B6CA74

Accessibility & contrast

On white

3.70
#798D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#798D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D36
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D36#FFFFFF#000000##000000
##798D361.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852C
Deuteranopia (green-blind)
#93853C
Tritanopia (blue-blind)
#7F867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d36;
/* rgb */ color: rgb(121, 141, 54);
/* oklch */ color: oklch(60.9% 0.115 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2ae71',
    500: '#798d36',
    950: '#000000',
  },
}
SCSS
$custom: #798d36;
$custom-light: #a2ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#798d36",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 73.793,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60901,
    "c": 0.11525,
    "h": 120.9
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#798D36
secondary
#7D6DB2
accent
#53D471
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798D36

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

Preview Lab → · Contrast checker → · Palette generator →

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