#798A34#798A34

#798A34 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.113 H 119.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#798A34
RGBrgb(121, 138, 52)
HSLhsl(72, 45%, 37%)
HSVhsv(72, 62%, 54%)
CMYKcmyk(12.3%, 0%, 62.3%, 45.9%)
CIE-LABlab(54.54, -19.11, 42.82)
CIE-LCHlch(54.54, 46.89, 114.05°)
OKLaboklab(60.16% -0.0554 0.0985)
OKLCHoklch(60.16% 0.113 119.4)
XYZxyz(17.5937, 22.4899, 6.6623)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A34 #45348A
analogous
#8A7034 #798A34 #4E8A34
triadic
#798A34 #34798A #8A3479
tetradic
#798A34 #348A70 #45348A #8A344E
square
#798A34 #348A70 #45348A #8A344E
split-complementary
#798A34 #344E8A #70348A
monochromatic
#2B3113 #525E23 #798A34 #A0B645 #B7C96F

Accessibility & contrast

On white

3.82
#798A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#798A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A34
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A34#FFFFFF#000000##000000
##798A341.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832A
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#808378
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798a34;
/* rgb */ color: rgb(121, 138, 52);
/* oklch */ color: oklch(60.2% 0.113 119.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac6f',
    500: '#798a34',
    950: '#000000',
  },
}
SCSS
$custom: #798a34;
$custom-light: #a2ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#798a34",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 71.86,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.11303,
    "h": 119.4
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#798A34
secondary
#7769B1
accent
#53D56D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798A34

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

Preview Lab → · Contrast checker → · Palette generator →

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