#798C35#798C35

#798C35 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.115 H 120.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#798C35
RGBrgb(121, 140, 53)
HSLhsl(73, 45%, 38%)
HSVhsv(73, 62%, 55%)
CMYKcmyk(13.6%, 0%, 62.1%, 45.1%)
CIE-LABlab(55.15, -20.06, 43.02)
CIE-LCHlch(55.15, 47.47, 115.00°)
OKLaboklab(60.65% -0.058 0.0991)
OKLCHoklch(60.65% 0.115 120.4)
XYZxyz(17.9061, 23.0782, 6.8787)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C35 #48358C
analogous
#8C7335 #798C35 #4E8C35
triadic
#798C35 #35798C #8C3579
tetradic
#798C35 #358C73 #48358C #8C354E
square
#798C35 #358C73 #48358C #8C354E
split-complementary
#798C35 #354E8C #73358C
monochromatic
#2C3313 #536024 #798C35 #9FB846 #B6CA72

Accessibility & contrast

On white

3.74
#798C35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#798C35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C35
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C35#FFFFFF#000000##000000
##798C351.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#7F857A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798c35;
/* rgb */ color: rgb(121, 140, 53);
/* oklch */ color: oklch(60.6% 0.115 120.4);
Tailwind
colors: {
  custom: {
    50: '#a2ad70',
    500: '#798c35',
    950: '#000000',
  },
}
SCSS
$custom: #798c35;
$custom-light: #a2ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#798c35",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 53
  },
  "hsl": {
    "h": 73.103,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.1148,
    "h": 120.4
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#798C35
secondary
#7A6BB2
accent
#53D56F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798C35

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

Preview Lab → · Contrast checker → · Palette generator →

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